mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 04:37:45 +01:00
So this is Christmas...
Made fake presents for decoration purposes Made fake snowfall effect for mood Made advanced presents that have randomized size and shape, will have a bigger selection of possible gifts in update along with a rare chaos version that will have it's own smaller but much powerful items! Made new id sprites and access cards for casino medical/security/engineering Took the old girl out back and put her down, sorry Casino Ferry, you served us all well! And a big big rework and remapping of casino and disabled it from round start to ease up on processing, sorry kids. No snooping the goods from now on!
This commit is contained in:
@@ -62,4 +62,27 @@
|
||||
step(confetti,direction)
|
||||
spawn(confetti.time_to_live*0.75+rand(10,30))
|
||||
if (confetti) qdel(confetti)
|
||||
src.total_confetti--
|
||||
src.total_confetti--
|
||||
|
||||
/////////////////////////////////////////////
|
||||
// Snow fall
|
||||
// Permanent mood snow
|
||||
/////////////////////////////////////////////
|
||||
|
||||
/obj/effect/effect/snow
|
||||
name = "light snowfall"
|
||||
icon = 'icons/effects/weather.dmi'
|
||||
icon_state = "snowfall_light"
|
||||
|
||||
layer = 4.2
|
||||
opacity = 0
|
||||
anchored = 0.0
|
||||
mouse_opacity = 0
|
||||
|
||||
/obj/effect/effect/snow/medium
|
||||
name = "medium snowfall"
|
||||
icon_state = "snowfall_med"
|
||||
|
||||
/obj/effect/effect/snow/heavy
|
||||
name = "heavy snowfall"
|
||||
icon_state = "snowfall_heavy"
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
// Chomp gift, randomized color and size, wider selection of items to obtain, also chance of chaos present with even wilder stuff
|
||||
|
||||
|
||||
/obj/item/weapon/a_gift/advanced
|
||||
name = "present"
|
||||
desc = "A gift! What could be inside?!"
|
||||
icon = 'icons/obj/items_ch.dmi'
|
||||
icon_state = "gift1_g"
|
||||
item_state = "gift1_g"
|
||||
var/chaos = "I can do anything!"
|
||||
|
||||
/obj/item/weapon/a_gift/advanced/New()
|
||||
..()
|
||||
pixel_x = rand(-10,10)
|
||||
pixel_y = rand(-10,10)
|
||||
|
||||
chaos = rand(1, 100)
|
||||
if(chaos == 1)
|
||||
icon_state = "gift_chaos"
|
||||
chaos = TRUE
|
||||
else
|
||||
icon_state = "gift[pick("1", "2", "3")]_[pick("g", "r", "b", "y", "p")]"
|
||||
chaos = FALSE
|
||||
|
||||
item_state = icon_state
|
||||
return
|
||||
|
||||
/obj/item/weapon/a_gift/advanced/attack_self(mob/M as mob) //WIP - add more items to list! - Jack
|
||||
var/gift_type = pick(
|
||||
/obj/item/weapon/storage/wallet,
|
||||
/obj/item/weapon/storage/photo_album,
|
||||
/obj/item/weapon/storage/box/snappops,
|
||||
/obj/item/weapon/storage/fancy/crayons,
|
||||
/obj/item/weapon/storage/backpack/holding,
|
||||
/obj/item/weapon/storage/belt/champion,
|
||||
/obj/item/weapon/soap/deluxe,
|
||||
/obj/item/weapon/pickaxe/silver,
|
||||
/obj/item/weapon/pen/invisible,
|
||||
/obj/item/weapon/lipstick/random,
|
||||
/obj/item/weapon/grenade/smokebomb,
|
||||
/obj/item/weapon/corncob,
|
||||
/obj/item/weapon/contraband/poster,
|
||||
/obj/item/weapon/book/manual/barman_recipes,
|
||||
/obj/item/weapon/book/manual/chef_recipes,
|
||||
/obj/item/weapon/bikehorn,
|
||||
/obj/item/weapon/beach_ball,
|
||||
/obj/item/weapon/beach_ball/holoball,
|
||||
/obj/item/toy/balloon,
|
||||
/obj/item/toy/blink,
|
||||
/obj/item/toy/crossbow,
|
||||
/obj/item/weapon/gun/projectile/revolver/capgun,
|
||||
/obj/item/toy/katana,
|
||||
/obj/item/toy/mecha/deathripley,
|
||||
/obj/item/toy/mecha/durand,
|
||||
/obj/item/toy/mecha/fireripley,
|
||||
/obj/item/toy/mecha/gygax,
|
||||
/obj/item/toy/mecha/honk,
|
||||
/obj/item/toy/mecha/marauder,
|
||||
/obj/item/toy/mecha/mauler,
|
||||
/obj/item/toy/mecha/odysseus,
|
||||
/obj/item/toy/mecha/phazon,
|
||||
/obj/item/toy/mecha/ripley,
|
||||
/obj/item/toy/mecha/seraph,
|
||||
/obj/item/toy/spinningtoy,
|
||||
/obj/item/toy/sword,
|
||||
/obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiadeus,
|
||||
/obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiavulgaris,
|
||||
/obj/item/device/paicard,
|
||||
/obj/item/device/instrument/violin,
|
||||
/obj/item/weapon/storage/belt/utility/full,
|
||||
/obj/item/clothing/accessory/tie/horrible)
|
||||
|
||||
if(!ispath(gift_type,/obj/item)) return
|
||||
|
||||
var/obj/item/I = new gift_type(M)
|
||||
M.remove_from_mob(src)
|
||||
M.put_in_hands(I)
|
||||
I.add_fingerprint(M)
|
||||
qdel(src)
|
||||
return
|
||||
@@ -1,26 +1,36 @@
|
||||
/obj/item/weapon/card/id/casino
|
||||
name = "casino employee id"
|
||||
name = "casino id"
|
||||
desc = "An ID card for an employee of the golden goose casino."
|
||||
icon_state = "ch_casino"
|
||||
item_state = "gold_id"
|
||||
|
||||
access = list(160)
|
||||
|
||||
/obj/item/weapon/card/id/casino/booth
|
||||
name = "casino booth employee id"
|
||||
desc = "An ID card for an employee of the golden goose casino with extra access to prize booth."
|
||||
/obj/item/weapon/card/id/casino/both
|
||||
name = "casino both id"
|
||||
desc = "An ID card for an employee of the golden goose casino with extra access to prize both."
|
||||
access = list(160, 200)
|
||||
|
||||
/obj/item/weapon/card/id/casino
|
||||
name = "casino employee id"
|
||||
desc = "An ID card for an employee of the golden goose casino."
|
||||
icon_state = "ch_casino"
|
||||
item_state = "gold_id"
|
||||
/obj/item/weapon/card/id/casino/medical
|
||||
name = "casino medical id"
|
||||
desc = "An ID card for an employee of the golden goose casino that oversees medical care."
|
||||
icon_state = "ch_casino_med"
|
||||
access = list(160, 202)
|
||||
|
||||
access = list(160, 200, 201)
|
||||
/obj/item/weapon/card/id/casino/engineering
|
||||
name = "casino engineering id"
|
||||
desc = "An ID card for an employee of the golden goose casino that oversees maintenance."
|
||||
icon_state = "ch_casino_eng"
|
||||
access = list(160, 203)
|
||||
|
||||
/obj/item/weapon/card/id/casino/security
|
||||
name = "casino security id"
|
||||
desc = "An ID card for an employee of the golden goose casino that oversees security."
|
||||
icon_state = "ch_casino_sec"
|
||||
access = list(160, 200, 201, 202, 203)
|
||||
|
||||
/obj/item/weapon/card/id/casino/manager
|
||||
name = "casino manager id"
|
||||
desc = "An ID card for the manager of the golden goose casino."
|
||||
desc = "An ID card for the manager of the golden goose casino, fancy!"
|
||||
icon_state = "ch_casino_manager"
|
||||
access = list(160, 200, 201, 300)
|
||||
access = list(160, 200, 201, 202, 203, 300)
|
||||
Reference in New Issue
Block a user