Date: 2014/10/19 09:40:06 UTC-07:00
Type: Denizen Script
AdventureLevel1:
type: world
events:
on player enters L1G1:
- if !<global.flag[l1g1]>
{
- flag global l1g1 duration:300s
- spawn e@zombie[custom_name=Underpaid<&sp>Guard] location:-198,11,-24,GameWorld save:guard
- equip <entry[guard].spawned_entities> hand:wood_sword head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
- spawn e@zombie[custom_name=Underpaid<&sp>Guard] location:-180,11,-25,GameWorld save:guard
- equip <entry[guard].spawned_entities> hand:wood_sword head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
- spawn e@zombie[custom_name=Underpaid<&sp>Guard] location:-189,11,-58,GameWorld save:guard
- equip <entry[guard].spawned_entities> hand:wood_sword head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
}
on player enters L1G2:
- if !<global.flag[l1g2]>
{
- flag global l1g2 duration:300s
- spawn e@skeleton[custom_name=Underpaid<&sp>Archer] location:-202,11,-78,GameWorld save:archer
- equip <entry[archer].spawned_entities> hand:bow head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
- spawn e@zombie[custom_name=Underpaid<&sp>Guard] location:-178,11,-79,GameWorld save:guard
- equip <entry[guard].spawned_entities> hand:wood_sword head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
- spawn e@spider[custom_name=Old<&sp>Spider] location:-167,11,-80,GameWorld
- spawn e@zombie[custom_name=Underpaid<&sp>Guard] location:-190,11,-109,GameWorld save:guard
- equip <entry[guard].spawned_entities> hand:wood_sword head:leather_helmet[dye=co@0,50,150] chest:leather_chestplate[dye=co@0,50,150] legs:leather_leggings[dye=co@0,50,150] boots:leather_boots[dye=co@0,50,150]
}