Son aktivite 1 month ago

A small spell system.

june's Avatar june bu gisti düzenledi 1 month ago. Düzenlemeye git

1 file changed, 19 insertions, 14 deletions

spells.nv

@@ -1,8 +1,8 @@
1 1 ||:: write down a spell :spell name: fireball
2 - :type: projectile
3 - :element: fire
4 - :effect: damage
5 - :amount: 5
2 + :type: projectile
3 + :element: fire
4 + :effect: damage
5 + :amount: 5
6 6 :: cast fireball on slime
7 7 :: cast haze on slime
8 8
@@ -18,11 +18,7 @@
18 18 :couldn't find the spell: $name
19 19 |:: look up the $name spell :spellbook: $name $type $element $effect $amount?|
20 20 :: close the spellbook
21 - :spell name: $name
22 - :type: $type
23 - :element: $element
24 - :effect: $effect
25 - :amount: $amount
21 + :: recite the spell
26 22 |:: look up the $name spell?|
27 23 :: flip a page
28 24
@@ -35,11 +31,20 @@
35 31 :spellbook: $name $type $element $damage
36 32 |:: close the spellbook|
37 33
34 + |:: recite the spell :spellbook: $name $type $element $effect $amount?|
35 + :spell name: $name
36 + :type: $type
37 + :element: $element
38 + :effect: $effect
39 + :amount: $amount
40 + |:: recite the spell|
41 + :log: There's no spell to recite
42 +
38 43 |:: write down a spell :spell name: $name
39 - :type: $type
40 - :element: $element
41 - :effect: $effect
42 - :amount: $amount
44 + :type: $type
45 + :element: $element
46 + :effect: $effect
47 + :amount: $amount
43 48 |:spellbook: $name $type $element $effect $amount
44 49
45 50 |:: write down a spell|
@@ -68,4 +73,4 @@
68 73 :element: $element
69 74 :effect: $effect
70 75 :amount: $amount
71 - |:log: You cast $name on $thing
76 + |:log: You cast $name on $thing

june's Avatar june bu gisti düzenledi 1 month ago. Düzenlemeye git

1 file changed, 6 deletions

spells.nv

@@ -35,12 +35,6 @@
35 35 :spellbook: $name $type $element $damage
36 36 |:: close the spellbook|
37 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 38 |:: write down a spell :spell name: $name
45 39 :type: $type
46 40 :element: $element

june's Avatar june bu gisti düzenledi 1 month ago. Düzenlemeye git

1 file changed, 77 insertions

spells.nv(dosya oluşturuldu)

@@ -0,0 +1,77 @@
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
Daha yeni Daha eski