1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-22 07:54:20 +00:00
stack/objects/m_totem.object.gmx
2013-07-13 13:33:31 +03:00

461 lines
13 KiB
XML

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>&lt;undefined&gt;</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>601</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_execute_script</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>9</kind>
<script>m_totem_init</script>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>820</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_partsyst_create</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>-3</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>823</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_parttype_create</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
<argument>
<kind>5</kind>
<sprite>part_totem</sprite>
</argument>
<argument>
<kind>0</kind>
<string>0.5</string>
</argument>
<argument>
<kind>0</kind>
<string>1</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>827</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_parttype_speed</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>2</string>
</argument>
<argument>
<kind>0</kind>
<string>5</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>360</string>
</argument>
<argument>
<kind>0</kind>
<string>0.1</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>826</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_parttype_life</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>20</string>
</argument>
<argument>
<kind>0</kind>
<string>60</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="6" enumb="53">
<action>
<libid>1</libid>
<id>612</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>-1</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_if_variable</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>collision_point(mouse_x, mouse_y, o_wall_inv, false, true)</string>
</argument>
<argument>
<kind>0</kind>
<string>-4</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>422</id>
<kind>1</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
<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>//Fai spawnare l'oggetto selezionato in base all'array stack_names.
instance_create(mouse_x,mouse_y,totem_list[selected]);
//Aggiungi 1 al totale dei totem nel livello.
pile = pile + 1;
//Seleziona un altro totem casuale.
selected = irandom(totalitems);
/*Metti il mouse in una posizione casuale sullo schermo. Bwhahaha!
display_mouse_set(irandom(640), irandom(480));*/
</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>424</id>
<kind>2</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
</event>
<event eventtype="8" enumb="64">
<action>
<libid>1</libid>
<id>526</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_font</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>12</kind>
<font>points</font>
</argument>
<argument>
<kind>4</kind>
<string>1</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>524</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_color</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>13</kind>
<string>33023</string>
</argument>
</arguments>
</action>
<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>draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, 16, 16, 0.5, 0.5, 0, c_white, 1);
</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>613</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_draw_variable</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>pile</string>
</argument>
<argument>
<kind>0</kind>
<string>320</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="9" enumb="122">
<action>
<libid>1</libid>
<id>601</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_execute_script</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>9</kind>
<script>togglefullscreen</script>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="9" enumb="77">
<action>
<libid>1</libid>
<id>224</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_another_room</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>11</kind>
<room>menu</room>
</argument>
</arguments>
</action>
</event>
<event eventtype="9" enumb="18">
<action>
<libid>1</libid>
<id>802</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_snapshot</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>2</kind>
<string>totem.bmp</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>