1 |
var info; |
2 |
function scr_item_infoscr_item_infovar info;
function scr_item_info(argument0) //gml_Script_scr_item_info
{
var item = argument0
info[0] = "* Info message"
switch item
{
case "Lemonade":
info[0] = "* \"Lemonade\" - Heals 7 HP#* (Doesn't smell too appetizing.)"
break
case "Pebble Ammo":
info[0] = "* \"Pebbles\" - Weapon AT 3#* (Like rocks, but smaller.#* Good makeshift ammo.)"
break
case "Silver Ammo":
info[0] = "* \"Silver Ammo\" - Weapon AT 3#* (A pack of reflective pellets.)"
info[1] = "* (They'd fit nicely in# a six-shooter.)"
info[2] = "* (A perfect shot deals# extra damage.)"
break
case "Glass Ammo":
info[0] = "* \"Glass Ammo\" - Weapon AT 5#* (Literal shards of glass.# Yep.)"
info[1] = "* (Restores 2 HP after every# attack.)"
break
case "Candy Corn":
info[0] = "* \"Candy Corn\" - Restores 9 HP#* (Your teeth hurt just looking# at it.)"
break
case "Corn Dog":
info[0] = "* \"Corn Dog\" - Restores 12 HP#* (A genuine Corn Dog with# soft, fluffy ears.)"
break
case "Patch":
info[0] = "* \"Patch\" Armor DF 0#* (It's not strong but it's#trustworthy.)"
break
case "Feather":
info[0] = "* \"Feather\" - Armor DF 2#* (An old, forgotten feather.#* It needs a good preening.)"
break
case "G. Bandana":
info[0] = "* \"G. Bandana\" - Armor DF 12#* (The most stunning piece of# fabric you've ever seen.)"
break
case "Missing Poster":
info[0] = "* (The grim reminder of# your mission. Justice# is needed.)"
break
case "G. Pear":
info[0] = "* (Makes you invulnerable# for a pear of hits.)"
break
case "Rubber Ammo":
info[0] = "* \"Rubber Ammo\" - Weapon AT 0#* (Small, safe, non-toxic# rubber pellets.)"
break
case "Sponge Cake":
info[0] = "* \"Sponge Cake\" - Heals 14 HP"
info[1] = "* (A delicious sponge that doesn't# scratch AND has 2x the# absorption!)"
break
case "Hndw Coffee":
info[0] = "*\"Hndw Coffee\" - Heals 14 HP#* (It would take true bravery to# drink something this hot!)"
break
case "Hndw Pancake":
info[0] = "* \"Hndw Pancake\" - Heals 16 HP #* (An off-the-griddle pancake with# honey-syrup.)"
break
case "G.B. Bear":
info[0] = "* \"G.B. Bear\" - Heals 20 HP#* (A cookie made to look like# someone's face.)"
info[1] = "* (What a creative and original# idea!)"
break
case "Hot Pop":
info[0] = "* \"Hot Pop\" - Heals 14 HP#* (Piping hot chocolate, frozen,# then reheated.)"
break
case "Lukewarm Pop":
info[0] = "* \"Lukewarm Pop\" - Heals 8 HP#* (Piping hot chocolate cooled to# lukewarm status.)"
break
case "Cold Pop":
info[0] = "* \"Cold Pop\" - Heals 12 HP#* (Piping hot chocolate, cooled# cold.)"
break
case "G. Coffee":
info[0] = "* \"G. Coffee\" - (Halves the# weight of your soul, giving you# a speed boost for three turns.)"
info[1] = "* (Half delicious beverage, half# transition metal.)"
info[2] = "* (Just smells like# coffee, though.)"
break
case "G. Cactus":
info[0] = "* \"G. Cactus\" - (Heals 15 HP# for 3 turns. The first# bite hurts for 5 HP.)"
info[1] = "* (The forbidden snack.)"
break
case "Adult Soda":
info[0] = "* \"Adult Soda\" - Heals ??? HP#* (A transparent liquid# with no smell.)"
break
case "Packing Peanuts":
info[0] = "* \"Packing Peanuts\" - Heals 10 HP"
info[1] = "* (Ideal for preventing damage or# destruction of fragile stomach# contents.)"
break
case "Trail Mix":
info[0] = "* \"Trail Mix\" - Heals 13 HP\""
info[1] = "* (Everything but the raisins# has been picked out.)"
break
case "Ice Tea":
info[0] = "* \"Ice Tea\" - Heals 20 HP\"#* (A glass of warm sweet tea.)"
info[1] = "* (A label with a sketch of Mo# grinning is glued to the side.)"
break
case "Green Tea":
info[0] = " \"Green Tea\" - Heals 21 HP\"#* (Ice tea but dyed green. +1 HP# for style.)"
break
case "Sea Tea":
info[0] = " \"Sea Tea\" - Heals 10 HP\"#* (Glowing tea that'll jolt# your system.)"
info[1] = "* (A label reading \"The real# deal!\" is stuck on the glass.)"
break
case "Fruitcake":
... (argument0) //gml_Script_scr_item_info |
3 |
{ |
4 |
var item = argument0 |
5 |
info[0] = "* Info message" |
6 |
switch item |
7 |
{ |
8 |
case "Lemonade": |
9 |
info[0] = "* \"Lemonade\" - Heals 7 HP#* (Doesn't smell too appetizing.)" |
10 |
break |
11 |
case "Pebble Ammo": |
12 |
info[0] = "* \"Pebbles\" - Weapon AT 3#* (Like rocks, but smaller.#* Good makeshift ammo.)" |
13 |
break |
14 |
case "Silver Ammo": |
15 |
info[0] = "* \"Silver Ammo\" - Weapon AT 3#* (A pack of reflective pellets.)" |
16 |
info[1] = "* (They'd fit nicely in# a six-shooter.)" |
17 |
info[2] = "* (A perfect shot deals# extra damage.)" |
18 |
break |
19 |
case "Glass Ammo": |
20 |
info[0] = "* \"Glass Ammo\" - Weapon AT 5#* (Literal shards of glass.# Yep.)" |
21 |
info[1] = "* (Restores 2 HP after every# attack.)" |
22 |
break |
23 |
case "Candy Corn": |
24 |
info[0] = "* \"Candy Corn\" - Restores 9 HP#* (Your teeth hurt just looking# at it.)" |
25 |
break |
26 |
case "Corn Dog": |
27 |
info[0] = "* \"Corn Dog\" - Restores 12 HP#* (A genuine Corn Dog with# soft, fluffy ears.)" |
28 |
break |
29 |
case "Patch": |
30 |
info[0] = "* \"Patch\" Armor DF 0#* (It's not strong but it's#trustworthy.)" |
31 |
break |
32 |
case "Feather": |
33 |
info[0] = "* \"Feather\" - Armor DF 2#* (An old, forgotten feather.#* It needs a good preening.)" |
34 |
break |
35 |
case "G. Bandana": |
36 |
info[0] = "* \"G. Bandana\" - Armor DF 12#* (The most stunning piece of# fabric you've ever seen.)" |
37 |
break |
38 |
case "Missing Poster": |
39 |
info[0] = "* (The grim reminder of# your mission. Justice# is needed.)" |
40 |
break |
41 |
case "G. Pear": |
42 |
info[0] = "* (Makes you invulnerable# for a pear of hits.)" |
43 |
break |
44 |
case "Rubber Ammo": |
45 |
info[0] = "* \"Rubber Ammo\" - Weapon AT 0#* (Small, safe, non-toxic# rubber pellets.)" |
46 |
break |
47 |
case "Sponge Cake": |
48 |
info[0] = "* \"Sponge Cake\" - Heals 14 HP" |
49 |
info[1] = "* (A delicious sponge that doesn't# scratch AND has 2x the# absorption!)" |
50 |
break |
51 |
case "Hndw Coffee": |
52 |
info[0] = "*\"Hndw Coffee\" - Heals 14 HP#* (It would take true bravery to# drink something this hot!)" |
53 |
break |
54 |
case "Hndw Pancake": |
55 |
info[0] = "* \"Hndw Pancake\" - Heals 16 HP #* (An off-the-griddle pancake with# honey-syrup.)" |
56 |
break |
57 |
case "G.B. Bear": |
58 |
info[0] = "* \"G.B. Bear\" - Heals 20 HP#* (A cookie made to look like# someone's face.)" |
59 |
info[1] = "* (What a creative and original# idea!)" |
60 |
break |
61 |
case "Hot Pop": |
62 |
info[0] = "* \"Hot Pop\" - Heals 14 HP#* (Piping hot chocolate, frozen,# then reheated.)" |
63 |
break |
64 |
case "Lukewarm Pop": |
65 |
info[0] = "* \"Lukewarm Pop\" - Heals 8 HP#* (Piping hot chocolate cooled to# lukewarm status.)" |
66 |
break |
67 |
case "Cold Pop": |
68 |
info[0] = "* \"Cold Pop\" - Heals 12 HP#* (Piping hot chocolate, cooled# cold.)" |
69 |
break |
70 |
case "G. Coffee": |
71 |
info[0] = "* \"G. Coffee\" - (Halves the# weight of your soul, giving you# a speed boost for three turns.)" |
72 |
info[1] = "* (Half delicious beverage, half# transition metal.)" |
73 |
info[2] = "* (Just smells like# coffee, though.)" |
74 |
break |
75 |
case "G. Cactus": |
76 |
info[0] = "* \"G. Cactus\" - (Heals 15 HP# for 3 turns. The first# bite hurts for 5 HP.)" |
77 |
info[1] = "* (The forbidden snack.)" |
78 |
break |
79 |
case "Adult Soda": |
80 |
info[0] = "* \"Adult Soda\" - Heals ??? HP#* (A transparent liquid# with no smell.)" |
81 |
break |
82 |
case "Packing Peanuts": |
83 |
info[0] = "* \"Packing Peanuts\" - Heals 10 HP" |
84 |
info[1] = "* (Ideal for preventing damage or# destruction of fragile stomach# contents.)" |
85 |
break |
86 |
case "Trail Mix": |
87 |
info[0] = "* \"Trail Mix\" - Heals 13 HP\"" |
88 |
info[1] = "* (Everything but the raisins# has been picked out.)" |
89 |
break |
90 |
case "Ice Tea": |
91 |
info[0] = "* \"Ice Tea\" - Heals 20 HP\"#* (A glass of warm sweet tea.)" |
92 |
info[1] = "* (A label with a sketch of Mo# grinning is glued to the side.)" |
93 |
break |
94 |
case "Green Tea": |
95 |
info[0] = " \"Green Tea\" - Heals 21 HP\"#* (Ice tea but dyed green. +1 HP# for style.)" |
96 |
break |
97 |
case "Sea Tea": |
98 |
info[0] = " \"Sea Tea\" - Heals 10 HP\"#* (Glowing tea that'll jolt# your system.)" |
99 |
info[1] = "* (A label reading \"The real# deal!\" is stuck on the glass.)" |
100 |
break |
101 |
case "Fruitcake": |
102 |
info[0] = " \"Fruitcake\" - Heals 25 HP\"#* (Somewhat dried fruitcake with# a few gemstones inside.)" |
103 |
break |
104 |
case "Spider Donut": |
105 |
info[0] = " \"Spider Donut\" - Heals 12 HP\"#* (A donut made with Spider# Cider in the batter.)" |
106 |
break |
107 |
case "Icewater": |
108 |
info[0] = " \"Icewater\" - Heals 15 HP#* (The prequel to ice tea.)" |
109 |
break |
110 |
case "Oasis Latte": |
111 |
info[0] = " \"Oasis Latte\" - Heals 25 HP#* (Coffee but fancier.)" |
112 |
break |
113 |
case "Cnm. Cookie": |
114 |
info[0] = " \"Cnm. Cookie\" - Heals 35 HP#* (One of the baked good# greats..)" |
115 |
break |
116 |
case "Root Beer": |
117 |
info[0] = " \"Root Beer\" - Heals 18 HP\"#* (It's family friendly!)" |
118 |
break |
119 |
case "Gunpowder": |
120 |
info[0] = " \"Gunpowder\" - Heals ??? HP\"#* (The forbidden spice.)" |
121 |
break |
122 |
case "Moss Salad": |
123 |
info[0] = " \"Moss Salad\" - Heals 17 HP\"#* (Looks like it could be from# another world...) " |
124 |
break |
125 |
case "Grassy Fries": |
126 |
info[0] = " \"Grassy Fries\" - Heals 14 HP\"#* (A pile of thin strings with a# layer of fuzz overtop.)" |
127 |
break |
128 |
case "Flower Stew": |
129 |
info[0] = " \"Flower Stew\" - Heals 20 HP\"#* (A cup of aromatic broth with# a floral garnish.)" |
130 |
break |
131 |
case "Gravity Granola": |
132 |
info[0] = " \"Gravity Granola\" - Heals 30 HP\"#* (\"The taste is out of this# world!\" ...Uh huh.) " |
133 |
break |
134 |
case "Dihydrogen Monoxide": |
135 |
info[0] = " \"H2O\" - Heals 20 HP\"#* (Chemically inclined liquid.)" |
136 |
break |
137 |
case "Popato Chisps": |
138 |
info[0] = " \"Popato Chisps\" - Heals 13HP\"#* (Regular old popato chisps.)" |
139 |
break |
140 |
case "Beef Jerky": |
141 |
info[0] = " \"Beef Jerky\" - Heals 16 HP\"#* (A convenience store# delicacy.)" |
142 |
break |
143 |
case "Cake": |
144 |
info[0] = " \"Cake\" - Heals 30 HP\"#* (A lemon cake with cherries on# top.)" |
145 |
break |
146 |
case "Floral Cupcake": |
147 |
info[0] = " \"Floral Cupcake\" - Heals 50 HP\"" |
148 |
info[1] = "* (A beautiful pastry, crowned# with a golden flower made of# icing.)" |
149 |
break |
150 |
case "Hot Dog": |
151 |
info[0] = " \"Hot Dog\" - Heals 20 HP\"#* (A food representative of your# go-to insult.)" |
152 |
break |
153 |
case "Monster Candy": |
154 |
info[0] = " \"Monster Candy\" - Heals 10 HP\"" |
155 |
info[1] = "* (The sweet smell of# butterscotch wafts from the# wrapper.)" |
156 |
break |
157 |
case "Monster Candy+": |
158 |
info[0] = " \"Monster Candy+\" - Heals 15 HP\"#* (A tasty treat with# twice-enriched Sugar Flavor.)" |
159 |
break |
160 |
case "C-B Strudel": |
161 |
info[0] = " \"C-B Strudel\" - Heals 30 HP\"#* (Made from fresh cinnamon and# butterscotch.)" |
162 |
break |
163 |
case "Corn Chowder": |
164 |
info[0] = " \"Corn Chowder\" - Heals 15 HP\"#* (Weeks-old leftovers from# Ceroba's fridge.)" |
165 |
break |
166 |
case "Feisty Slider": |
167 |
info[0] = " \"Feisty Slider\" - Heals 30 HP\"" |
168 |
info[1] = "* (A small burger with big# flavor! Just 30G at the# Saloon!)" |
169 |
info[2] = "* (...Says an ad printed on its# wrapper.)" |
170 |
break |
171 |
case "Honeydew Pin": |
172 |
info[0] = "* \"Honeydew Pin\" - Armor DF 4#* (A pin advertising the Honeydew# Resort in Snowdin.)" |
173 |
break |
174 |
case "Band Merch Pin": |
175 |
info[0] = "* \"Band Merch Pin\" - Armor DF 5#* (A pin commemorating a concert# you didn't go to..)" |
176 |
break |
177 |
case "Steel Buckle": |
178 |
info[0] = "* \"Steel Buckle\" - Armor DF 7#* (A shiny belt buckle made of# fine materials.)" |
179 |
break |
180 |
case "Safety Jacket": |
181 |
info[0] = "* \"Safety Jacket\" - Armor DF 6" |
182 |
info[1] = "* (A small jacket that protects# its wearer from the world's# dangers.)" |
183 |
break |
184 |
case "Safety Goggles": |
185 |
info[0] = "* \"Safety Goggles\" - Armor DF 9#* (Paramount to all Steamworks# employees.)" |
186 |
break |
187 |
case "Delta Rune Patch": |
188 |
info[0] = "* \"Delta Rune Patch\" - Armor DF 10#* (The Kingdom of Monsters'# official insignia.)" |
189 |
break |
190 |
case "Silver Scarf": |
191 |
info[0] = "* \"Silver Scarf\" - Armor DF 6#* (A glistening scarf, woven# with love and care.)" |
192 |
info[1] = "* (Restores 2 HP after every# turn.)" |
193 |
break |
194 |
case "Lukewarm Coffee": |
195 |
info[0] = "* (A once sizzling Honeydew# Coffee.)" |
196 |
info[1] = "* (It's cooled down a lot.)" |
197 |
info[2] = "* (It was probably left sitting# in the snow a while.)" |
198 |
break |
199 |
case "Soggy Mitten": |
200 |
info[0] = "* (An old, soggy mitten. It's too# wet to keep anything warm.)" |
201 |
break |
202 |
case "Matches": |
203 |
info[0] = "* (A bundle of damp matches.)" |
204 |
info[1] = "* (Looks like there are just# enough dry ones to start a nice# fire.)" |
205 |
break |
206 |
case "Snowdin Map": |
207 |
info[0] = "* (It's a hand-drawn map.)" |
208 |
info[1] = "* (It seems more colorful than the# real Snowdin.)" |
209 |
break |
210 |
case "Pickaxe": |
211 |
info[0] = "* (A sturdy pickaxe.)" |
212 |
break |
213 |
case "Ice Pellets": |
214 |
info[0] = "* \"Ice Ammo\" - Weapon AT 6#* (Very conveniently shaped ice# cubes.)" |
215 |
info[1] = "* (They don't seem to be melting# either.)" |
216 |
info[2] = "* (How thoughtful of them!)" |
217 |
break |
218 |
case "Cff Bean Ammo": |
219 |
info[0] = "* \"Coffee Ammo\" - Weapon AT 4" |
220 |
info[1] = "* (There's no way you could eat# them, but they might still be# of use.)" |
221 |
break |
222 |
case "Super Ammo": |
223 |
info[0] = "* \"Super Ammo\" - Weapon AT 15#* (Regular toy gun ammo sold# at your favorite convenience store.)" |
224 |
info[1] = "* (Boasts a \"Premium\" sticker on# the top of the packaging.)" |
225 |
break |
226 |
case "Flint": |
227 |
info[0] = "* \"Flint Ammo\" - Weapon AT 9#* (A dusty, black rock.# Might be useful for combat.)" |
228 |
break |
229 |
case "Nails": |
230 |
info[0] = "* \"Nails\" - Weapon AT 10#* (Small, pointed pieces of# steel.)" |
231 |
info[1] = "* (Could be quite effective if# fired at a high velocity.)" |
232 |
break |
233 |
case "Friendliness Pellets": |
234 |
info[0] = "* \"F. Pellets\" - Weapon AT 11#* (A token of the bond between# you and Your Best Friend.)" |
235 |
break |
236 |
case "Golden Scarf": |
237 |
info[0] = "* \"Golden Scarf\" - Armor DF 25#* (It's emitting a violently# golden shine.)" |
238 |
break |
239 |
case "Fancy Holster": |
240 |
info[0] = "* \"Fancy Holster\" - Armor DF 8#* (A leather weapon-holder,# perfect for duels at noon.)" |
241 |
break |
242 |
case "Videotape": |
243 |
info[0] = "* (...)" |
244 |
break |
245 |
case "H. Acid": |
246 |
info[0] = "* (An extremely dangerous# compound. Handle with caution.)" |
247 |
break |
248 |
case "Necklace": |
249 |
info[0] = "* (A broken but dazzling# necklace.)" |
250 |
info[1] = "* (Can't be worn but could be# worth something.)" |
251 |
break |
252 |
} |
253 |
|
254 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
255 |
with (msg) |
256 |
{ |
257 |
var msg_number = array_length_1d(info) |
258 |
for (var i = 0; i < msg_number; i++) |
259 |
message[i] = info[i] |
260 |
} |
261 |
} |