forked from fachinformatiker/undertale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobj_instantnoodleitem.object.gmx
102 lines (102 loc) · 3.69 KB
/
obj_instantnoodleitem.object.gmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName><undefined></spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName><undefined></parentName>
<maskName><undefined></maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>con= 1;
global.flag[21]= 1;
global.msg[1]= "* You put some water in& the pot and place it on& the heat./";
global.msg[2]= "* You wait for the water& to boil.../";
global.msg[3]= "* ..^4.&* ..^4.&* .../";
global.msg[4]= "* It\'^2s boiling./";
global.msg[5]= "* You place the noodle^1s& into the pot./";
global.msg[6]= "* 4^3 minutes lef^3t until& the noodle^2s are finished./";
global.msg[7]= "* 3^3 minutes lef^3t until& the noodle^2s are finished./";
global.msg[8]= "* 2^3 minutes lef^3t until& the noodle^2s are finished./";
global.msg[9]= "* 1^3 minute lef^3t until& the noodle^2s are finished./";
global.msg[10]= "* The noodle^3s are finished./";
global.msg[11]= "* ... they don\'t taste very& good./";
global.msg[12]= "* You add the flavor packet./";
global.msg[13]= "* That\'s better./";
global.msg[14]= "* Not great^1, but better./";
global.msg[15]= " %%";
script_execute(146/* scr_writetext */, 0, "* You remove the Instant& Noodles from their& packaging./", 0, 0);
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>if(instance_exists(782/* OBJ_WRITER */)) {
if(OBJ_WRITER.stringno == 3 && con == 1) {
caster_pause(global.batmusic);
con= 2;
}
if(con == 2 && OBJ_WRITER.stringno == 15) {
caster_resume(global.batmusic);
con= 3;
global.flag[21]= 0;
// OBJ_WRITER
with(782) instance_destroy();
global.msg[0]= "* You ate the Instant Noodles.";
script_execute(64/* scr_recoitem */, 4);
instance_create(0, 0, 91/* obj_foodsound */);
}
} else instance_destroy();
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>