forked from NovaSector/NovaSector
-
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 'NovaSector:master' into master
- Loading branch information
Showing
24 changed files
with
302 additions
and
126 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 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
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 modified
BIN
+2.32 KB
(100%)
modular_nova/master_files/icons/mob/sprite_accessory/hair.dmi
Binary file not shown.
Binary file modified
BIN
-4.62 KB
(98%)
modular_nova/master_files/icons/mob/sprite_accessory/tails.dmi
Binary file not shown.
Binary file not shown.
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
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 modified
BIN
+126 Bytes
(110%)
modular_nova/modules/implants/icons/implanted_blade_lefthand.dmi
Binary file not shown.
Binary file modified
BIN
+118 Bytes
(110%)
modular_nova/modules/implants/icons/implanted_blade_righthand.dmi
Binary file not shown.
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
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
49 changes: 49 additions & 0 deletions
49
modular_nova/modules/modular_items/lewd_items/code/holosign.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,49 @@ | ||
/obj/item/holosign_creator/privacy | ||
name = "personal holosign projector" | ||
desc = "A holographic projector which creates privacy barriers to inform people that you are looking for privacy. Right-click to switch between pink (lewd advisory) and grey (privacy)." | ||
icon = 'modular_nova/master_files/icons/obj/devices/tools.dmi' | ||
icon_state = "signmaker_erp" | ||
holosign_type = /obj/structure/holosign/privacy | ||
creation_time = 0 | ||
max_signs = 8 | ||
/// Used to toggle the holosign type between normal privacy and lewd. | ||
var/erp_mode = FALSE | ||
|
||
/obj/item/holosign_creator/privacy/Initialize(mapload) | ||
. = ..() | ||
register_context() | ||
|
||
/obj/item/holosign_creator/privacy/add_context(atom/source, list/context, obj/item/held_item, mob/user) | ||
. = ..() | ||
context[SCREENTIP_CONTEXT_RMB] = "[erp_mode ? "Turn off" : "Turn on"] Lewd Advisory Mode" | ||
return CONTEXTUAL_SCREENTIP_SET | ||
|
||
/obj/item/holosign_creator/privacy/attack_self_secondary(mob/user, modifiers) | ||
if(erp_mode) | ||
erp_mode = FALSE | ||
holosign_type = /obj/structure/holosign/privacy | ||
balloon_alert(user, "turned off Lewd Advisory Mode") | ||
else | ||
erp_mode = TRUE | ||
holosign_type = /obj/structure/holosign/privacy/erp | ||
balloon_alert(user, "turned on Lewd Advisory Mode") | ||
return ..() | ||
|
||
/obj/structure/holosign/privacy | ||
name = "privacy holosign" | ||
desc = "A holographic sign which flickers with the word \"Private\". It would be polite to proceed no further if you aren't invited, even if the door isn't locked." | ||
icon = 'modular_nova/master_files/icons/effects/holosigns.dmi' | ||
icon_state = "holosign_privacy" | ||
base_icon_state = "holosign_privacy" | ||
|
||
/obj/structure/holosign/privacy/item_interaction(mob/living/user, obj/item/tool, list/modifiers) | ||
. = ..() | ||
if(tool != projector) | ||
return | ||
qdel(src) | ||
|
||
/obj/structure/holosign/privacy/erp | ||
name = "lewd advisory holosign" | ||
desc = "A holographic sign which flickers with the word \"Lewd\". If you choose to proceed, you can expect sexual activity." | ||
icon_state = "holosign_erp" | ||
base_icon_state = "holosign_erp" |
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,22 @@ | ||
https://github.com/NovaSector/NovaSector/pull/4531 | ||
|
||
## Title: All the emotes. | ||
|
||
MODULE ID: species_synthesizer | ||
|
||
### Description: | ||
|
||
Adds an action to Synthetic and Ethereal species that allows them to synthesize music. | ||
|
||
- Added to `modular_nova/modules/synths/code/species/synthetic.dm`: | ||
- Edited `/datum/species/synthetic/on_species_gain()` to add the action to the mob. | ||
- Added to `/datum/species/ethereal/create_pref_unique_perks()` to add the "Musical Discharger" species perk. | ||
|
||
### Master File Additions | ||
|
||
- Added to `modular_nova/master_files/code/modules/mob/living/carbon/human/species_type/ethereal.dm`: | ||
- Overrode `/datum/species/ethereal/on_species_gain()` to add the action to the mob. | ||
- Added to `/datum/species/synthetic/create_pref_unique_perks()` to add the "Tone Synthesizer" species perk. | ||
|
||
### Credits: | ||
- [@Floofies](https://github.com/Floofies) |
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,48 @@ | ||
/datum/action/sing_tones | ||
name = "Sing Tones" | ||
desc = "Use your internal synthesizer to sing!" | ||
button_icon = 'icons/obj/art/musician.dmi' | ||
button_icon_state = "xylophone" | ||
var/datum/song/song | ||
/// What instruments can be used. | ||
var/allowed_instrument_ids = list("spaceman", "meowsynth", "square", "sine", "saw") | ||
/// Instruments added after being emagged. | ||
var/emag_instrument_ids = list("honk") | ||
/// Set to TRUE if already emagged. | ||
var/emagged = FALSE | ||
|
||
/datum/action/sing_tones/Grant(mob/grant_to) | ||
..() | ||
RegisterSignal(grant_to, COMSIG_SPECIES_LOSS, PROC_REF(on_species_loss)) | ||
RegisterSignal(grant_to, COMSIG_ATOM_EMAG_ACT, PROC_REF(on_emag_act)) | ||
song = new(grant_to, allowed_instrument_ids, 15) | ||
if(isethereal(grant_to)) | ||
desc = "Use your electric discharger to sing!" | ||
|
||
/datum/action/sing_tones/Remove(mob/remove_from) | ||
..() | ||
QDEL_NULL(song) | ||
UnregisterSignal(remove_from, list( | ||
COMSIG_SPECIES_LOSS, | ||
COMSIG_ATOM_EMAG_ACT, | ||
)) | ||
|
||
/datum/action/sing_tones/proc/on_species_loss(mob/living/carbon/human/human) | ||
SIGNAL_HANDLER | ||
|
||
qdel(src) | ||
|
||
/datum/action/sing_tones/proc/on_emag_act(mob/living/carbon/human/source, mob/user) | ||
SIGNAL_HANDLER | ||
|
||
if(emagged) | ||
return | ||
emagged = TRUE | ||
song.allowed_instrument_ids += emag_instrument_ids | ||
song.set_instrument("honk") | ||
|
||
/datum/action/sing_tones/Trigger(trigger_flags) | ||
. = ..() | ||
if(!.) | ||
return | ||
song.ui_interact(owner) |
Oops, something went wrong.