mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 01:54:25 +01:00
BALL!
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/datum/gear/ball
|
||||
display_name = "tennis ball selection"
|
||||
description = "Choose from a num- BALL!"
|
||||
path = /obj/item/toy/tennis
|
||||
|
||||
/datum/gear/ball/New()
|
||||
..()
|
||||
var/list/balls = list()
|
||||
for(var/ball in typesof(/obj/item/toy/tennis/))
|
||||
var/obj/item/toy/tennis/ball_type = ball
|
||||
balls[initial(ball_type.name)] = ball_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(balls))
|
||||
Reference in New Issue
Block a user