//The Datum
Group
var
Damage
Health
MaxHealth
Range
Defense
Abilties
Faction
Builder = 0
Speed = 0
Undead
Units
Skeleton
Builder = 1
MaxHealth = 40
Defense = 5
Speed = 5
Faction = "Undead"
Zombie
Faction = "Undead"
MaxHealth = 60
Defense = 6
Ghoul
Faction = "Undead"
Abilties = "Feast"
MaxHealth = 100
Defense = 10
Lich
Faction = "Undead"
Abilties = "MagicPower"
MaxHealth = 80
Defense = 10
Ghast
Faction = "Undead"
Abilties="NoDense"
MaxHealth = 150
Defense = 15
Elves
Beasts
Humans
Dinosaurs
//the Faction and etc
mob
var
Faction
verb
ChooseFaction()
usr.Faction = input("Select a Faction", "Faction",usr.Faction) in list ("Undead",
"Dinosaur")
ShowUnits()
for(var/Group/G)
world << G
Problem description:
Ok, I'm trying to get it to show the units under a faction but it won't show the name of the groups. I am trying to get it to show the units under the users faction.