Add more docs
This commit is contained in:
parent
545df77b62
commit
d495d0a130
27
programming_examples.md
Normal file
27
programming_examples.md
Normal file
@ -0,0 +1,27 @@
|
||||
George, who can be awakened
|
||||
|
||||
```
|
||||
@create $thing named "George"
|
||||
@property george.awakened_time 0
|
||||
@property george.time_awake 20
|
||||
@verb george:description this none this rxd
|
||||
@verb george:awaken this none none rxd
|
||||
|
||||
@program george:awaken
|
||||
if ((time() - this.awakened_time) > this.time_awake)
|
||||
player:tell("W H A M M U ! You awaken George!");
|
||||
player.location:announce("W H A M M U ! " + player.name + " awakens George!");
|
||||
this.awakened_time = time();
|
||||
else
|
||||
player:tell("George is already awake.");
|
||||
endif
|
||||
.
|
||||
|
||||
@program george:description
|
||||
if ((time() - this.awakened_time) > this.time_awake)
|
||||
return "He appears to be sleeping. Hopefully nobody AWAKENS him.";
|
||||
else
|
||||
return "George is awake and unfathomably powerful.";
|
||||
endif
|
||||
.
|
||||
```
|
6
world_ideas.md
Normal file
6
world_ideas.md
Normal file
@ -0,0 +1,6 @@
|
||||
# World Ideas
|
||||
|
||||
- Make an actual town :) Organized like geocities?
|
||||
- Grassy plains is publicly linkable
|
||||
- Integration with IRC?
|
||||
- Integration with other town services? (Check `help curl` and `help exec`)
|
Loading…
x
Reference in New Issue
Block a user