Revision: | 1.1 |
Committed: | Thu Sep 7 21:42:56 2006 UTC (17 years, 10 months ago) by pippijn |
Branch: | MAIN |
CVS Tags: | rel-2_82, rel-2_81, rel-2_80, rel-3_1, rel-3_0, rel-2_6, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rel-2_1, rel-2_72, rel-2_73, rel-2_71, rel-2_76, rel-2_77, rel-2_74, rel-2_75, rel-2_54, rel-2_55, rel-2_56, rel-2_79, rel-2_52, rel-2_53, rel-2_32, rel-2_90, rel-2_92, rel-2_93, rel-2_78, rel-2_61, rel-2_43, rel-2_42, rel-2_41, HEAD |
Log Message: | Moved documents to doc/historic |
# | Content |
---|---|
1 | This file explains the 'ITEM_TRANSFORMER' (163) item type. |
2 | |
3 | Last update: 2005-07-19. |
4 | |
5 | An item transformer is simply applied, after having marked a 'victim' item. |
6 | If the victim is suitable, it will be transformed into something else. |
7 | |
8 | To make an item transformable, you just have to fill the 'slaying' field. |
9 | The syntax is: |
10 | slaying slayer:[yield ]new_item[;slayer:[yield ]new_item]* |
11 | |
12 | with [] denoting optional part, and * any number of preceding []. |
13 | |
14 | Example, for object apple: |
15 | slaying knife:2 half_apple |
16 | |
17 | This means that, when applying a knife (non existing item with type of 163), |
18 | one 'apple' will be transformed into 2 'half_apple'. |
19 | |
20 | Pretty simple, hopefully. |
21 | |
22 | Transformer uses food value to count how many times it can be used. 0 denotes |
23 | unlimited uses. |
24 | |
25 | The 'slaying' field of the 'transformer' is a verb used to construct a message. |
26 | |
27 | More complex imaginary example: |
28 | Object water |
29 | slaying bowl:full_bowl;paper:wet_paper |
30 | |
31 | if paper and bowl are 'transformer' items. |