mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 20:22:07 +00:00
* Revert "Merge remote-tracking branch 'upstream/master' into NIFs" This reverts commit c2aea213fd400f9d6d12d955340cb0e7d2f9c36f, reversing changes made to 1bb613b64a603c280abec40d9c82fde69248b196. * Revert "Revert "Merge remote-tracking branch 'upstream/master' into NIFs"" This reverts commit 10a6f906f70857cfffd9ddef7b609fecc21da902. * we don't need this (for right now) * Update nifsoft_shop.dm * new nif models * Update nif_implants.dm * we now have items * nice * logging and removers * Update nifs.dm * nif repair surgery * death durability loss and EMPs * more messages and NIF TGUI fix * polish * debug NIF and soulcatcher polish * new phone action sprite * NIFs for ghost roles * Better EMP * this doesn't really have a good reason to be here. * lore * Update modular_skyrat/modules/modular_implants/code/nifsofts/shapeshifter.dm Co-authored-by: Nerevar <12636964+Nerev4r@users.noreply.github.com> * Update modular_skyrat/modules/modular_implants/code/nifsofts/shapeshifter.dm Co-authored-by: Nerevar <12636964+Nerev4r@users.noreply.github.com> * Update code/controllers/subsystem/ticker.dm Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update nif_implants.dm * a * Apply suggestions from code review Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * Update nifs_tgui.dm * Update modular_skyrat/modules/modular_implants/code/nifsofts/hivemind.dm * Update modular_skyrat/modules/modular_implants/code/nifsofts/shapeshifter.dm * Update modular_skyrat/modules/modular_implants/code/nifsofts/shapeshifter.dm * Apply suggestions from code review Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * fixes an oversight * Apply suggestions from code review Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> * that wouldn't be good * Update packs.dm * Update nifs.dm * Update nif_implants.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update misc_devices.dm * Update dualboot.dm * Update CentCom_skyrat_z2.dmm * Update CentCom_skyrat_z2.dmm * Update hivemind.dm * Apply suggestions from code review Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * Update packs.dm * Update prop_summoner.dm * Update shapeshifter.dm * Update packs.dm * Update nif_presistance.dm * Update prop_summoner.dm * Update dualboot.dm * Apply suggestions from code review Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Tastyfish <crazychris32@gmail.com> * static data * Update persistence.dm * Update persistence.dm * Update persistence.dm * uhoh * Update nif_presistance.dm * Update nifs.dm * pain * Revert "pain" This reverts commit 3adc919f849b68de2ab4245c7db26a02e85bf0c6. * I don't know why this was in here * Update nifsofts.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update shapeshifter.dm * Update nifs.dm * Update nifs.dm * Update modular_skyrat/modules/modular_implants/code/nifsofts/shapeshifter.dm Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * Update prop_summoner.dm * Update misc_devices.dm * Delete BlueShift_upper.dmm * Update prop_summoner.dm * Update prop_summoner.dm * vendor * R&D * Update nifsoft_shop.dm * Update dualboot.dm * Update NifPanel.js * Update money_sense.dm * I'm sorry for what I must do * Update money_sense.dm * cost adjustments * theme * Update nifsoft_shop.dm * examine fix * examine text change * Money Sense is now a trait * Revert "Money Sense is now a trait" This reverts commit 16c124ffb2cb70136abe6eb41b330d389208afa7. * component * Update modular_skyrat/modules/modular_implants/code/nifs.dm Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * Update nifs.dm * we do a bit of file moving * component * Update nifs.dm * Update hivemind.dm * Update hivemind.dm * Update prop_summoner.dm * Revert "Merge remote-tracking branch 'upstream/master' into NIFs" This reverts commit a7f7945eaa9c9ed6f9253b7cb71c6be79f3bf9e9, reversing changes made to bca1a7f1811d3a82bf253c5a8d70431567c399a7. * Revert "Merge remote-tracking branch 'upstream/master' into NIFs" This reverts commit bca1a7f1811d3a82bf253c5a8d70431567c399a7, reversing changes made to 2559afc7a9737863f7d96494e01216a1ea0f5428. * Revert "Merge remote-tracking branch 'upstream/master' into NIFs" This reverts commit e8293971b07a2ffbe61a7e17d5f9ac94b47ef5bc, reversing changes made to dad4ef7a9ac697d0e887c336bd486c17fb54f2a8. * whoops * Revert "Revert "Merge remote-tracking branch 'upstream/master' into NIFs"" This reverts commit c607aca6bc3e55cc724f25fa6e38011b05ebc8c6. * Revert "Revert "Merge remote-tracking branch 'upstream/master' into NIFs"" This reverts commit b42f89b9c647d845a17732f1caaf1a50dcdd4515. * Revert "Revert "Merge remote-tracking branch 'upstream/master' into NIFs"" This reverts commit 1d6ffe92bcaa8035f8918dc533870ec4b74ed9a3. * Apply suggestions from code review Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * fixes things * Update nifs.dm * QoL * no more summoning infinite items * start of componentization * Update prop_summoner.dm * FIRMLY GRASP IT! * Update prop_summoner.dm * Update prop_summoner.dm * Update nifsofts.dm * Update prop_summoner.dm * Update nifsoft_shop.dm * boy, I really hope somebody got fired for that blunder * Update nif_presistance.dm * mistakes were made. * Delete CentCom_skyrat_z2.dmm * Revert "Delete CentCom_skyrat_z2.dmm" This reverts commit 8a1cdc4b065246fb07cbaf5461d01565e0ddbe06. * Update CentCom_skyrat_z2.dmm * Update CentCom_skyrat_z2.dmm * It's a solution * Update CentCom_skyrat_z2.dmm * Update CentCom_skyrat_z2.dmm * Update NifPanel.js * Price changes * Update nif_presistance.dm * Such devastation, this was not my intention. * Woooo! * Documentation * cryo fix * I am sorry to anyone that had a NIF before the persistence change * Update nif.dm * I need to figure out why this is happening. * Apply suggestions from code review Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * a * Update modular_persistence.dm * Update modular_persistence.dm * Update nifs.dm * Update nifs.dm * I do the code * Hopefully this helps * Update ticker.dm * Update modular_persistence.dm * Removes client requirement * Use brain, much better for allowing persistent organs and similar in the future. * Did testing, it fucking works now. * Update mind_linker.dm * Update misc_devices.dm * Update misc_devices.dm * Update nifs_tgui.dm * Thanks gamers :^) * a * Update nifsoft_shop.dm * Update nifsofts.dm * Update hivemind.dm * Update hivemind.dm * Update prop_summoner.dm * whoops * FUUUUCK * FUCK x2 * this feels like cargo job gear * stack trace * roundstart fix * Update modular_skyrat/modules/modular_implants/code/nifsofts/prop_summoner.dm Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> * Update modular_persistence.dm * Update nifs.dm * Update hivemind.dm * Update nifs.dm * vital spelling fix * whoopsie * Update nif_persistence.dm * power_refactor * durability refactor * a * Update nifsofts.dm * pain * Update modular_skyrat/modules/modular_implants/code/nifs.dm Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> * Update nifsofts.dm * Update packs.dm * Update nifs.dm * Update nifs.dm Co-authored-by: Nerevar <12636964+Nerev4r@users.noreply.github.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com> Co-authored-by: Tastyfish <crazychris32@gmail.com> Co-authored-by: RimiNosha <riminosha@gmail.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com>
33 lines
929 B
Plaintext
33 lines
929 B
Plaintext
/// Action used to pull up the NIF menu
|
|
/datum/action/item_action/nif
|
|
background_icon = 'modular_skyrat/master_files/icons/mob/actions/action_backgrounds.dmi'
|
|
background_icon_state = "android"
|
|
button_icon = 'modular_skyrat/master_files/icons/mob/actions/actions_nif.dmi'
|
|
check_flags = AB_CHECK_CONSCIOUS
|
|
|
|
/datum/action/item_action/nif/open_menu
|
|
name = "Open NIF Menu"
|
|
button_icon_state = "user"
|
|
|
|
/datum/action/item_action/nif/open_menu/Trigger(trigger_flags)
|
|
. = ..()
|
|
var/obj/item/organ/internal/cyberimp/brain/nif/target_nif = target
|
|
|
|
if(target_nif.calibrating)
|
|
target_nif.send_message("The NIF is still calibrating, please wait!", TRUE)
|
|
return FALSE
|
|
|
|
if(target_nif.durability < 1)
|
|
target_nif.send_message("Durability low!", TRUE)
|
|
return FALSE
|
|
|
|
if(target_nif.broken)
|
|
target_nif.send_message("The NIF is unable to be used at this time!", TRUE)
|
|
return FALSE
|
|
|
|
if(!.)
|
|
return
|
|
|
|
target_nif.ui_interact(usr)
|
|
|