mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
Track Ore Mined for Scoreboard
Increments the score for ore mined each time ore is mined (i.e.: spawned) after the game starts.
This commit is contained in:
@@ -78,6 +78,8 @@
|
||||
/obj/item/weapon/ore/New()
|
||||
pixel_x = rand(0,16)-8
|
||||
pixel_y = rand(0,8)-8
|
||||
if(ticker.current_state == GAME_STATE_PLAYING) score_oremined++ //When ore spawns, increment score. Ignore ores that spawn with map before game starts.
|
||||
|
||||
|
||||
/obj/item/weapon/ore/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W,/obj/item/device/core_sampler))
|
||||
|
||||
Reference in New Issue
Block a user