forked from Bubberstation/Bubberstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into upstream-2024-02-03
- Loading branch information
Showing
23 changed files
with
256 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: "Majkl-J" | ||
delete-after: True | ||
changes: | ||
- rscadd: "Ghosts without clients get sent back into the menu after a while." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: "Vynzill" | ||
delete-after: True | ||
changes: | ||
- rscadd: "Added more perfumes to loadout." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: "IgiariValkyr" | ||
delete-after: True | ||
changes: | ||
- config: "Relocked some donator items from Skyrat on request" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
author: "Sylphet" | ||
delete-after: True | ||
changes: | ||
- balance: "scrubbers do not overflow with carpet and rainbow stuff anymore" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
author: "Majkl-J" | ||
delete-after: True | ||
changes: | ||
- image: "New rockfruit sprites" | ||
- code_imp: "Modularized hydroponics" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
modular_zubbers/code/modules/indicators/code/ssd_indicator.dm
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
modular_zubbers/code/modules/surgery/organs/internal/lungs/_brain.dm
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/mob/living/carbon/human/Logout() | ||
. = ..() | ||
if(HAS_TRAIT(src, TRAIT_SUICIDED)) | ||
alpha = GHOST_ALPHA | ||
|
||
if(!(stat == DEAD || (HAS_TRAIT(src, TRAIT_FAKEDEATH)))) | ||
if(get_organ_by_type(/obj/item/organ/internal/brain)) | ||
if(!key) | ||
alpha = GHOST_ALPHA | ||
|
||
/mob/living/carbon/human/Login() | ||
. = ..() | ||
alpha = 255 | ||
|
||
|
||
/* | ||
Code for sending ghosts into the lobby. | ||
Handles ghostize() and observer Logout() | ||
*/ | ||
|
||
#define GHOST_AFK_RESPAWN_TIME 15 MINUTES | ||
/mob/dead/observer | ||
var/datum/timedevent/logout_timer | ||
|
||
// Handles fresh ghosts. This includes cryo chambers | ||
/mob/living/ghostize(can_reenter_corpse) | ||
. = ..() | ||
var/mob/dead/observer/ghost = . | ||
if(!istype(ghost)) | ||
return | ||
if(CONFIG_GET(flag/allow_respawn)) | ||
ghost.logout_timer = addtimer(CALLBACK(ghost, TYPE_PROC_REF(/mob/dead/observer, can_send_to_lobby)), GHOST_AFK_RESPAWN_TIME/3, TIMER_STOPPABLE) | ||
|
||
/mob/dead/observer/Logout() | ||
. = ..() | ||
if(CONFIG_GET(flag/allow_respawn)) | ||
logout_timer = addtimer(CALLBACK(src, PROC_REF(send_to_lobby)), GHOST_AFK_RESPAWN_TIME, TIMER_STOPPABLE) | ||
|
||
/mob/dead/observer/Login() | ||
. = ..() | ||
if(logout_timer) | ||
deltimer(logout_timer) | ||
|
||
// Don't respawn people with a connected body or client | ||
/mob/dead/observer/proc/can_send_to_lobby() | ||
if(!ckey) // Turns out sometime ghosts exist without ckeys? A curious thing that shouldn't happen | ||
return FALSE | ||
if(is_banned_from(ckey, BAN_RESPAWN)) | ||
return FALSE | ||
|
||
return ((!mind || QDELETED(mind.current)) && !client) | ||
|
||
/mob/dead/observer/proc/send_to_lobby() | ||
if(!can_send_to_lobby()) | ||
return | ||
var/mob/dead/new_player/M = new /mob/dead/new_player() | ||
|
||
log_access("Ghost sent to lobby due to disconnect: [key]") | ||
M.key = key | ||
|
||
qdel(src) | ||
|
||
#undef GHOST_AFK_RESPAWN_TIME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# BUBBERSTATION MODULAR HYDROPONICS | ||
|
||
## What to put here | ||
Any completely new seeds, produce, sprites, and mechanics. | ||
Do not put any actual craftable foods here, instead either create or use, (if already created) the relevant modular folder. | ||
|
||
|
||
Overrides of mechanics on parent repos (TG, Skyrat) should still be done in the code folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/obj/item/perfume/ash | ||
name = "ash perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/ash | ||
|
||
/obj/item/perfume/bergamot | ||
name = "bergamot perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/bergamot | ||
|
||
/obj/item/perfume/cardamom | ||
name = "cardamom perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/cardamom | ||
|
||
/obj/item/perfume/chocolate | ||
name = "chocolate perfume bottle" | ||
fragrance_type = /datum/pollutant/food/chocolate | ||
|
||
/obj/item/perfume/cinnamon | ||
name = "cinnamon perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/cinnamon | ||
|
||
/obj/item/perfume/citrus | ||
name = "citrus perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/citrus | ||
|
||
/obj/item/perfume/clove | ||
name = "clove perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/clove | ||
|
||
/obj/item/perfume/grass | ||
name = "grass perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/grass | ||
|
||
/obj/item/perfume/iron | ||
name = "iron perfume bottle" | ||
fragrance_type = /datum/pollutant/metallic_scent | ||
|
||
/obj/item/perfume/oil | ||
name = "oil perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/oil | ||
|
||
/obj/item/perfume/peach | ||
name = "peach perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/peach | ||
|
||
/obj/item/perfume/petrichor | ||
name = "petrichor perfume bottle" | ||
fragrance_type = /datum/pollutant/fragrance/petrichor |
39 changes: 39 additions & 0 deletions
39
modular_zubbers/modules/pollution/code/pollutants_generic.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/datum/pollutant/fragrance/ash | ||
name = "Ash Perfume" | ||
scent = "ash" | ||
|
||
/datum/pollutant/fragrance/bergamot | ||
name = "Bergamot Perfume" | ||
scent = "a fresh and fruity scent" | ||
|
||
/datum/pollutant/fragrance/cardamom | ||
name = "Cardamom Perfume" | ||
scent = "a minty and lemony scent" | ||
|
||
/datum/pollutant/fragrance/cinnamon | ||
name = "Cinnamon Perfume" | ||
scent = "cinnamon" | ||
|
||
/datum/pollutant/fragrance/citrus | ||
name = "Citrus Perfume" | ||
scent = "citrus" | ||
|
||
/datum/pollutant/fragrance/clove | ||
name = "Clove Perfume" | ||
scent = "a spicy and sweet scent" | ||
|
||
/datum/pollutant/fragrance/grass | ||
name = "Grass Perfume" | ||
scent = "a earthy and natural scent" | ||
|
||
/datum/pollutant/fragrance/oil | ||
name = "Oil Perfume" | ||
scent = "oil" | ||
|
||
/datum/pollutant/fragrance/peach | ||
name = "Peach Perfume" | ||
scent = "a sweet and peachy scent" | ||
|
||
/datum/pollutant/fragrance/petrichor | ||
name = "Petrichor Perfume" | ||
scent = "morning dew and fresh rain scent" |
Oops, something went wrong.