spider ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 56](git.png)
Vars | |
amount_grown | The amount the egg cluster has grown. Is able to produce a spider when it hits 100. |
---|---|
cluster_type | Type of the cluster that the spawner spawns |
directive | The mother's directive at the time the egg was produced. Passed onto the child. |
egg | Physical structure housing the spawner |
flash_window | Do we flash the byond window when this particular egg type is available? |
granted_datum | Which antag datum do we grant? |
potentialspawns | The types of spiders that the spawner can produce |
ready | Prevents spawning from this mob_spawn until TRUE, set by the egg growing |
Procs | |
create | Makes a ghost into a spider based on the type of egg cluster. |
get_radial_choice | Pick a spider type from a radial menu |
Var Details
amount_grown ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 74](git.png)
The amount the egg cluster has grown. Is able to produce a spider when it hits 100.
cluster_type ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 78](git.png)
Type of the cluster that the spawner spawns
directive ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 76](git.png)
The mother's directive at the time the egg was produced. Passed onto the child.
egg ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 80](git.png)
Physical structure housing the spawner
flash_window ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 93](git.png)
Do we flash the byond window when this particular egg type is available?
granted_datum ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 82](git.png)
Which antag datum do we grant?
potentialspawns ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 84](git.png)
The types of spiders that the spawner can produce
ready ![code/modules/mob_spawn/ghost_roles/spider_roles.dm 72](git.png)
Prevents spawning from this mob_spawn until TRUE, set by the egg growing
Proc Details
create
Makes a ghost into a spider based on the type of egg cluster.
Allows a ghost to get a prompt to use the egg cluster to become a spider.
Arguments:
- user - The ghost attempting to become a spider
- newname - If set, renames the mob to this name
get_radial_choice
Pick a spider type from a radial menu