Ostatnio aktywny 1 month ago

A small spell system.

Rewizja 6d6704146abdab0b67ab06c824bbc8eaff05bb34

spells.nv Surowy Playground
1||:: write down a spell :spell name: fireball
2 :type: projectile
3 :element: fire
4 :effect: damage
5 :amount: 5
6 :: cast fireball on slime
7 :: cast haze on slime
8
9|:: cast $spell|
10 :: look up the $spell spell
11 :: cast a spell
12
13|:: cast $spell on $thing|
14 :: look up the $spell spell
15 :: cast a spell on $thing
16
17|:: look up the $name spell :no more pages:|
18 :couldn't find the spell: $name
19|:: look up the $name spell :spellbook: $name $type $element $effect $amount?|
20 :: close the spellbook
21 :spell name: $name
22 :type: $type
23 :element: $element
24 :effect: $effect
25 :amount: $amount
26|:: look up the $name spell?|
27 :: flip a page
28
29|:: flip a page :spellbook: $name $type $element $damage|
30 :flipped pages: $name $type $element $damage
31|:: flip a page|
32 :no more pages:
33
34|:: close the spellbook? :flipped pages: $name $type $element $effect $amount|
35 :spellbook: $name $type $element $damage
36|:: close the spellbook|
37
38|:: record a spell entry :no more pages:|
39 :: write down the spell
40 :: close the spellbook
41|:: record a spell entry?|
42 :: flip a page
43
44|:: write down a spell :spell name: $name
45 :type: $type
46 :element: $element
47 :effect: $effect
48 :amount: $amount
49|:spellbook: $name $type $element $effect $amount
50
51|:: write down a spell|
52 :I need all of these to write down a spell:
53 . spell name
54 . type
55 . element
56 . effect
57 . amount
58
59|:: cast a spell :couldn't find the spell: $name|
60 :log: You don't know the spell for $name
61
62|:: cast a spell on $thing :couldn't find the spell: $name|
63 :log: You don't know the spell for $name
64
65|:: cast a spell :spell name: $name
66 :type: $type
67 :element: $element
68 :effect: $effect
69 :amount: $amount
70|:log: You cast $name
71
72|:: cast a spell on $thing :spell name: $name
73 :type: $type
74 :element: $element
75 :effect: $effect
76 :amount: $amount
77|:log: You cast $name on $thing
78