Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2010, 10:24:30 PM (14 years ago)
Author:
dafrick
Message:

Added a new health pickup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup4/data/levels/includes/pickups.oxi

    r6675 r6701  
    22    pickupName = "Small Health Boost"
    33    pickupDescription = "Adds a small amout of health to the ship."
     4    inventoryRepresentation = "SmallHealth"
    45    spawnerTemplate = "smallhealthpickupRepresentation"
    56>
     
    1314    pickupDescription = "Adds a medium amout of health to the ship."
    1415    spawnerTemplate = "mediumhealthpickupRepresentation"
     16    inventoryRepresentation = "MediumHealth"
    1517>
    1618    <pickup>
     
    2325    pickupDescription = "Adds a huge amout of health to the ship."
    2426    spawnerTemplate = "hugehealthpickupRepresentation"
     27    inventoryRepresentation = "HugeHealth"
    2528>
    2629    <pickup>
     
    3336    pickupDescription = "Adds a crazy amout of health to the ship."
    3437    spawnerTemplate = "crazyhealthpickupRepresentation"
     38    inventoryRepresentation = "CrazyMadnessHealth"
    3539>
    3640    <pickup>
     
    4852    </pickup>
    4953</PickupRepresentation>
     54
     55<PickupRepresentation
     56    pickupName = "Use Pickup"
     57    pickupDescription = "Uses all pickups you have."
     58    spawnerTemplate = "usepickupRepresentation"
     59    inventoryRepresentation = "usePickup"
     60>
     61    <pickup>
     62        <MetaPickup metaType="use" />
     63    </pickup>
     64</PickupRepresentation>
     65
     66<PickupRepresentation
     67    pickupName = "Drop Pickup"
     68    pickupDescription = "Drops all pickups you have."
     69    spawnerTemplate = "droppickupRepresentation"
     70    inventoryRepresentation = "dropPickup"
     71>
     72    <pickup>
     73        <MetaPickup metaType="drop" />
     74    </pickup>
     75</PickupRepresentation>
     76
     77<PickupRepresentation
     78    pickupName = "Huge Health Boost"
     79    pickupDescription = "Adds a huge amout of health to the ship."
     80    spawnerTemplate = "hugehealthpickupRepresentation"
     81    inventoryRepresentation = "HugeHealth"
     82>
     83    <pickup>
     84          <HealthPickup
     85    health = 100
     86    healthType = "limited"
     87    activationType = "onUse"
     88    durationType = "once"
     89  />
     90    </pickup>
     91</PickupRepresentation>
Note: See TracChangeset for help on using the changeset viewer.