* code nitpicking * Midnight oil More like 6am oil. Still having issues with actually eating anyone. * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * missed commit * Noms * specific release doesn't work * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Tg modern (#149) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * Mentor system, Tickets, and discord (#151) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * vore tweaks * progress * dirtier fix than a korean hooker in the 60s * The release your hooker will always fake * you could save that hookers number but wouldn't you rather just vore the hooker instead * Save system is literal black magic * great googly moogly it's all gone to shit * We May 2015 save code now * fiddling with digestion code now * fuck if I know anymore. I'm going to bed * OWN UP YOUR OWN DIGESTION * UNREGULATED GUTS ARE NON COMPLIANT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * BELLIES MUST COMPLY WITH USER OWNERSHIP * Removed debug messages * Unneeded verb additions * file change tweaks * WATCH YOUR SPACING, DRIVER * Changelog and devourment for some mobs. Because I knew people were gunna ask. NO YOU CANNOT EAT THE FUCKING LEGION * Vore code sync (#157) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Escape and Devourable For the normies who play here yet complain about it. * Things that should be committed * unneeded files * Sizeray works now * tweaks and bed time going * IT WORKS mostly Need to get multiple guts and saving working tho * save tweaks * item hotfix * gut examine message * damifino * save system works also ensured some mobs have vore controls, so silicons can't even remotely do vore things. * code nitpicking * Midnight oil More like 6am oil. Still having issues with actually eating anyone. * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * missed commit * Noms * specific release doesn't work * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * vore tweaks * progress * dirtier fix than a korean hooker in the 60s * The release your hooker will always fake * you could save that hookers number but wouldn't you rather just vore the hooker instead * Save system is literal black magic * great googly moogly it's all gone to shit * We May 2015 save code now * fiddling with digestion code now * fuck if I know anymore. I'm going to bed * OWN UP YOUR OWN DIGESTION * UNREGULATED GUTS ARE NON COMPLIANT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * BELLIES MUST COMPLY WITH USER OWNERSHIP * Removed debug messages * Unneeded verb additions * file change tweaks * WATCH YOUR SPACING, DRIVER * Changelog and devourment for some mobs. Because I knew people were gunna ask. NO YOU CANNOT EAT THE FUCKING LEGION * title screen change from Crow's PR. * More of Crow's title screen stuff * mode tweaks.... again * gamemode voting in lobby via TalkingCactus disabled ashwalkers as roundstart Verk's species tweak paralax starts disabled by default * LOOC * index sync problem (#158) * digifix * things * furry races.dm * actually deletes species_types * maps * tgui and stuff * Sounds * icon updates * Defines and helpers * global vars and on click * controllers * datums * game folder * fixes invisible flan mobs * some modules * dropbomb verb enhanced * moar * moar * moar * even more again * and finally these for modules * Some compile tweaks * silly dme get updated you scrub * compiles cleanly now * various open PR fixes from TG as of 0800 Texas Standard Time * also fancy cryopods before I forget again * headslug gold core fix * edgy code of the modernization (#164) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Escape and Devourable For the normies who play here yet complain about it. * Things that should be committed * unneeded files * Sizeray works now * tweaks and bed time going * IT WORKS mostly Need to get multiple guts and saving working tho * save tweaks * item hotfix * gut examine message * damifino * save system works also ensured some mobs have vore controls, so silicons can't even remotely do vore things. * code nitpicking * Midnight oil More like 6am oil. Still having issues with actually eating anyone. * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * missed commit * Noms * specific release doesn't work * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * vore tweaks * progress * Small fixes for dogborgs and sprite accessories: -Ported the hidden snippets of the dogborg code. -Reset module now resets pixel offset and icon directory again. (broke shit when reseting from dogborg) -Medihound belly fixed. -Husky body marking tweaked to not overlap arms in side view. -Added husky ears that are basically wolf ears that use secondary color instead. * dirtier fix than a korean hooker in the 60s * The release your hooker will always fake * you could save that hookers number but wouldn't you rather just vore the hooker instead * Save system is literal black magic * great googly moogly it's all gone to shit * We May 2015 save code now * fiddling with digestion code now * fuck if I know anymore. I'm going to bed * OWN UP YOUR OWN DIGESTION * UNREGULATED GUTS ARE NON COMPLIANT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * BELLIES MUST COMPLY WITH USER OWNERSHIP * Removed debug messages * Unneeded verb additions * file change tweaks * WATCH YOUR SPACING, DRIVER * Changelog and devourment for some mobs. Because I knew people were gunna ask. NO YOU CANNOT EAT THE FUCKING LEGION * title screen change from Crow's PR. * More of Crow's title screen stuff * mode tweaks.... again * gamemode voting in lobby via TalkingCactus disabled ashwalkers as roundstart Verk's species tweak paralax starts disabled by default * LOOC * index sync problem (#158) * digifix * things * furry races.dm * actually deletes species_types * maps * tgui and stuff * Sounds * icon updates * Defines and helpers * global vars and on click * controllers * datums * game folder * fixes invisible flan mobs * some modules * dropbomb verb enhanced * moar * moar * moar * even more again * and finally these for modules * Some compile tweaks * silly dme get updated you scrub * compiles cleanly now * various open PR fixes from TG as of 0800 Texas Standard Time * also fancy cryopods before I forget again * headslug gold core fix * some species and DNA tweaks * Digest already damn you * suddenly sound and resist works. wtf * Minor tweaks, cryopod noise change * Vore tested working, species working * Merge test onto bleeding edgy (#165) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Escape and Devourable For the normies who play here yet complain about it. * Things that should be committed * unneeded files * Sizeray works now * tweaks and bed time going * IT WORKS mostly Need to get multiple guts and saving working tho * save tweaks * item hotfix * gut examine message * damifino * save system works also ensured some mobs have vore controls, so silicons can't even remotely do vore things. * code nitpicking * Midnight oil More like 6am oil. Still having issues with actually eating anyone. * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * missed commit * Noms * specific release doesn't work * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * vore tweaks * progress * Small fixes for dogborgs and sprite accessories: -Ported the hidden snippets of the dogborg code. -Reset module now resets pixel offset and icon directory again. (broke shit when reseting from dogborg) -Medihound belly fixed. -Husky body marking tweaked to not overlap arms in side view. -Added husky ears that are basically wolf ears that use secondary color instead. * dirtier fix than a korean hooker in the 60s * The release your hooker will always fake * you could save that hookers number but wouldn't you rather just vore the hooker instead * Save system is literal black magic * great googly moogly it's all gone to shit * We May 2015 save code now * fiddling with digestion code now * fuck if I know anymore. I'm going to bed * OWN UP YOUR OWN DIGESTION * UNREGULATED GUTS ARE NON COMPLIANT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * BELLIES MUST COMPLY WITH USER OWNERSHIP * Removed debug messages * Unneeded verb additions * file change tweaks * WATCH YOUR SPACING, DRIVER * Changelog and devourment for some mobs. Because I knew people were gunna ask. NO YOU CANNOT EAT THE FUCKING LEGION * title screen change from Crow's PR. * More of Crow's title screen stuff * mode tweaks.... again * gamemode voting in lobby via TalkingCactus disabled ashwalkers as roundstart Verk's species tweak paralax starts disabled by default * LOOC * index sync problem (#158) * digifix * things * furry races.dm * actually deletes species_types * maps * tgui and stuff * Sounds * icon updates * Defines and helpers * global vars and on click * controllers * datums * game folder * fixes invisible flan mobs * some modules * dropbomb verb enhanced * moar * moar * moar * even more again * and finally these for modules * Some compile tweaks * silly dme get updated you scrub * compiles cleanly now * various open PR fixes from TG as of 0800 Texas Standard Time * also fancy cryopods before I forget again * headslug gold core fix * some species and DNA tweaks * Digest already damn you * suddenly sound and resist works. wtf * Minor tweaks, cryopod noise change * Vore tested working, species working * travis map updates * updates * pool's closed due to lag * datum pools are closed too * Initializing new pool's closed * Pool's closed and initializing shit is done * sprite updates * chattering is okay to do now. * bleeblin edgy 1/23 (#166) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Escape and Devourable For the normies who play here yet complain about it. * Things that should be committed * unneeded files * Sizeray works now * tweaks and bed time going * IT WORKS mostly Need to get multiple guts and saving working tho * save tweaks * item hotfix * gut examine message * damifino * save system works also ensured some mobs have vore controls, so silicons can't even remotely do vore things. * code nitpicking * Midnight oil More like 6am oil. Still having issues with actually eating anyone. * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * missed commit * Noms * specific release doesn't work * Tg modernization patch (#115) * sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes * port from cactus did * fix format error * Update preferences.dm unfuck * Revert "port from cactus did" * unfuck * more sprite work * vore * disabled roundstart xenos for now * admin QOL needs callback porting, TBD * Mentor system initial port I'm sure I've missed a fuckton of shit * test merge * Jesus tits did this finally fix compile issues? * Initial test compiles. hooray. * Admin ticket fixes * I'll give you a bad argument you piece of shit dream maker I fucking swear on my mum * who list wip also ahelps are broken again. fuck if I know why * discord bot basics * maybe tickets work now & bot framework done * ahelp callback readd * vore tweaks * progress * Small fixes for dogborgs and sprite accessories: -Ported the hidden snippets of the dogborg code. -Reset module now resets pixel offset and icon directory again. (broke shit when reseting from dogborg) -Medihound belly fixed. -Husky body marking tweaked to not overlap arms in side view. -Added husky ears that are basically wolf ears that use secondary color instead. * dirtier fix than a korean hooker in the 60s * The release your hooker will always fake * you could save that hookers number but wouldn't you rather just vore the hooker instead * Save system is literal black magic * great googly moogly it's all gone to shit * We May 2015 save code now * fiddling with digestion code now * fuck if I know anymore. I'm going to bed * OWN UP YOUR OWN DIGESTION * UNREGULATED GUTS ARE NON COMPLIANT AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * BELLIES MUST COMPLY WITH USER OWNERSHIP * Removed debug messages * Unneeded verb additions * file change tweaks * WATCH YOUR SPACING, DRIVER * Changelog and devourment for some mobs. Because I knew people were gunna ask. NO YOU CANNOT EAT THE FUCKING LEGION * title screen change from Crow's PR. * More of Crow's title screen stuff * mode tweaks.... again * gamemode voting in lobby via TalkingCactus disabled ashwalkers as roundstart Verk's species tweak paralax starts disabled by default * LOOC * index sync problem (#158) * digifix * things * furry races.dm * actually deletes species_types * maps * tgui and stuff * Sounds * icon updates * Defines and helpers * global vars and on click * controllers * datums * game folder * fixes invisible flan mobs * some modules * dropbomb verb enhanced * moar * moar * moar * even more again * and finally these for modules * Some compile tweaks * silly dme get updated you scrub * compiles cleanly now * various open PR fixes from TG as of 0800 Texas Standard Time * also fancy cryopods before I forget again * headslug gold core fix * some species and DNA tweaks * Digest already damn you * suddenly sound and resist works. wtf * Minor tweaks, cryopod noise change * Vore tested working, species working * travis map updates * updates * pool's closed due to lag * datum pools are closed too * Initializing new pool's closed * Pool's closed and initializing shit is done * sprite updates * chattering is okay to do now. * Update .travis.yml * Update .travis.yml * Update .travis.yml * Revert "Modern modern" * Revert "Revert "Modern modern"" * fix it fix it fix it fix it * fixes title screen - thanks crow * Riding code reverted * possible tgui fix? * who the fuck even knows if this is the problem * adds moths and sharks (no colors yet, not greyscaled) adds LOOC back * "fixes" missing items in some machinery. * slight tweaks to abductor spawns borer event enabled (max 1) * Update .travis.yml * fixes shuttle purchase from comms * fixes and QoL * Polymorphing all is dangerous too * re-fixes ahelp ticket system again * metagaming check proving to be spamlicious * Fixes not being able to see devoured mob poses * fix for vehicle buckling * ahelp timer runtime fix (#178) * controller and game updates 1/29 * Defines, helpers, datums 1/29 * world.dm updates * modules/admin tweaks * everything in modules not a mob * modules/mob fixes and such No more PAIs ventcrawling * icons, maps, tools, etc. * compiler fixes * round type vote fixed * hardsuit cargo pack * reduce ion and electric storm chance * perms access for travis * fix helmet to the suit removes CE from crate * changelog * fuck * perms for travis... again * Update tgstation.dme * Update tgstation.dme * Donation race * redpanda * red panda * size play work * Size chemical basics Needs testing/refining * some fixing ports before I just fucking ported it anyway * It's been a fucking week. * commiting moar changes because github * admins.txt lol * icons * defines and such * globalvars and onclick * Controllers * datums * game folder * oh look, HoG is back * modules pt 1 * client things * more modules * everything not mob code * some mob stuff * more mob things * silicon mobs * ayylims and monkeys * human updates * huh * housekeeping is fired. * last minute fixes * more last minute things * human parts double check'd * more paper * Icons are fixed * double check of thermal protection code. (#191)
591 lines
18 KiB
Plaintext
591 lines
18 KiB
Plaintext
#define NUKESTATE_INTACT 5
|
|
#define NUKESTATE_UNSCREWED 4
|
|
#define NUKESTATE_PANEL_REMOVED 3
|
|
#define NUKESTATE_WELDED 2
|
|
#define NUKESTATE_CORE_EXPOSED 1
|
|
#define NUKESTATE_CORE_REMOVED 0
|
|
|
|
#define NUKE_OFF_LOCKED 0
|
|
#define NUKE_OFF_UNLOCKED 1
|
|
#define NUKE_ON_TIMING 2
|
|
#define NUKE_ON_EXPLODING 3
|
|
|
|
var/bomb_set
|
|
|
|
/obj/machinery/nuclearbomb
|
|
name = "nuclear fission explosive"
|
|
desc = "You probably shouldn't stick around to see if this is armed."
|
|
icon = 'icons/obj/machines/nuke.dmi'
|
|
icon_state = "nuclearbomb_base"
|
|
density = 1
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
|
|
|
var/timer_set = 60
|
|
var/default_timer_set = 90
|
|
var/minimum_timer_set = 90
|
|
var/maximum_timer_set = 3600
|
|
var/ui_style = "nanotrasen"
|
|
|
|
var/numeric_input = ""
|
|
var/timing = FALSE
|
|
var/exploding = FALSE
|
|
var/detonation_timer = null
|
|
var/r_code = "ADMIN"
|
|
var/yes_code = FALSE
|
|
var/safety = TRUE
|
|
var/obj/item/weapon/disk/nuclear/auth = null
|
|
use_power = 0
|
|
var/previous_level = ""
|
|
var/obj/item/nuke_core/core = null
|
|
var/deconstruction_state = NUKESTATE_INTACT
|
|
var/image/lights = null
|
|
var/image/interior = null
|
|
var/obj/effect/countdown/nuclearbomb/countdown
|
|
|
|
/obj/machinery/nuclearbomb/New()
|
|
..()
|
|
countdown = new(src)
|
|
nuke_list += src
|
|
core = new /obj/item/nuke_core(src)
|
|
STOP_PROCESSING(SSobj, core)
|
|
update_icon()
|
|
poi_list |= src
|
|
previous_level = get_security_level()
|
|
|
|
/obj/machinery/nuclearbomb/Destroy()
|
|
poi_list -= src
|
|
nuke_list -= src
|
|
if(countdown)
|
|
qdel(countdown)
|
|
countdown = null
|
|
. = ..()
|
|
|
|
/obj/machinery/nuclearbomb/examine(mob/user)
|
|
. = ..()
|
|
if(exploding)
|
|
user << "It is in the process of exploding. Perhaps reviewing your \
|
|
affairs is in order."
|
|
if(timing)
|
|
user << "There are [get_time_left()] seconds until \
|
|
detonation."
|
|
|
|
/obj/machinery/nuclearbomb/selfdestruct
|
|
name = "station self-destruct terminal"
|
|
desc = "For when it all gets too much to bear. Do not taunt."
|
|
icon = 'icons/obj/machines/nuke_terminal.dmi'
|
|
icon_state = "nuclearbomb_base"
|
|
anchored = TRUE //stops it being moved
|
|
|
|
/obj/machinery/nuclearbomb/syndicate
|
|
//ui_style = "syndicate" // actually the nuke op bomb is a stole nt bomb
|
|
|
|
/obj/machinery/nuclearbomb/syndicate/New()
|
|
var/obj/machinery/nuclearbomb/existing = locate("syndienuke")
|
|
if(existing)
|
|
qdel(src)
|
|
throw EXCEPTION("Attempted to spawn a syndicate nuke while one already exists at [existing.loc.x],[existing.loc.y],[existing.loc.z]")
|
|
return 0
|
|
tag = "syndienuke"
|
|
return ..()
|
|
|
|
/obj/machinery/nuclearbomb/attackby(obj/item/I, mob/user, params)
|
|
if (istype(I, /obj/item/weapon/disk/nuclear))
|
|
if(!user.drop_item())
|
|
return
|
|
I.forceMove(src)
|
|
auth = I
|
|
add_fingerprint(user)
|
|
return
|
|
|
|
switch(deconstruction_state)
|
|
if(NUKESTATE_INTACT)
|
|
if(istype(I, /obj/item/weapon/screwdriver/nuke))
|
|
playsound(loc, I.usesound, 100, 1)
|
|
user << "<span class='notice'>You start removing [src]'s front panel's screws...</span>"
|
|
if(do_after(user, 60*I.toolspeed,target=src))
|
|
deconstruction_state = NUKESTATE_UNSCREWED
|
|
user << "<span class='notice'>You remove the screws from [src]'s front panel.</span>"
|
|
update_icon()
|
|
return
|
|
if(NUKESTATE_UNSCREWED)
|
|
if(istype(I, /obj/item/weapon/crowbar))
|
|
user << "<span class='notice'>You start removing [src]'s front panel...</span>"
|
|
playsound(loc, I.usesound, 100, 1)
|
|
if(do_after(user,30*I.toolspeed,target=src))
|
|
user << "<span class='notice'>You remove [src]'s front panel.</span>"
|
|
deconstruction_state = NUKESTATE_PANEL_REMOVED
|
|
update_icon()
|
|
return
|
|
if(NUKESTATE_PANEL_REMOVED)
|
|
if(istype(I, /obj/item/weapon/weldingtool))
|
|
var/obj/item/weapon/weldingtool/welder = I
|
|
playsound(loc, I.usesound, 100, 1)
|
|
user << "<span class='notice'>You start cutting [src]'s inner plate...</span>"
|
|
if(welder.remove_fuel(1,user))
|
|
if(do_after(user,80*I.toolspeed,target=src))
|
|
user << "<span class='notice'>You cut [src]'s inner plate.</span>"
|
|
deconstruction_state = NUKESTATE_WELDED
|
|
update_icon()
|
|
return
|
|
if(NUKESTATE_WELDED)
|
|
if(istype(I, /obj/item/weapon/crowbar))
|
|
user << "<span class='notice'>You start prying off [src]'s inner plate...</span>"
|
|
playsound(loc, I.usesound, 100, 1)
|
|
if(do_after(user,50*I.toolspeed,target=src))
|
|
user << "<span class='notice'>You pry off [src]'s inner plate. You can see the core's green glow!</span>"
|
|
deconstruction_state = NUKESTATE_CORE_EXPOSED
|
|
update_icon()
|
|
START_PROCESSING(SSobj, core)
|
|
return
|
|
if(NUKESTATE_CORE_EXPOSED)
|
|
if(istype(I, /obj/item/nuke_core_container))
|
|
var/obj/item/nuke_core_container/core_box = I
|
|
user << "<span class='notice'>You start loading the plutonium core into [core_box]...</span>"
|
|
if(do_after(user,50,target=src))
|
|
if(core_box.load(core, user))
|
|
user << "<span class='notice'>You load the plutonium core into [core_box].</span>"
|
|
deconstruction_state = NUKESTATE_CORE_REMOVED
|
|
update_icon()
|
|
core = null
|
|
else
|
|
user << "<span class='warning'>You fail to load the plutonium core into [core_box]. [core_box] has already been used!</span>"
|
|
return
|
|
if(istype(I, /obj/item/stack/sheet/metal))
|
|
var/obj/item/stack/sheet/metal/M = I
|
|
if(M.amount >= 20)
|
|
user << "<span class='notice'>You begin repairing [src]'s inner metal plate...</span>"
|
|
if(do_after(user, 100, target=src))
|
|
if(M.use(20))
|
|
user << "<span class='notice'>You repair [src]'s inner metal plate. The radiation is contained.</span>"
|
|
deconstruction_state = NUKESTATE_PANEL_REMOVED
|
|
STOP_PROCESSING(SSobj, core)
|
|
update_icon()
|
|
else
|
|
user << "<span class='warning'>You need more metal to do that!</span>"
|
|
else
|
|
user << "<span class='warning'>You need more metal to do that!</span>"
|
|
return
|
|
. = ..()
|
|
|
|
/obj/machinery/nuclearbomb/proc/get_nuke_state()
|
|
if(exploding)
|
|
return NUKE_ON_EXPLODING
|
|
if(timing)
|
|
return NUKE_ON_TIMING
|
|
if(safety)
|
|
return NUKE_OFF_LOCKED
|
|
else
|
|
return NUKE_OFF_UNLOCKED
|
|
|
|
/obj/machinery/nuclearbomb/update_icon()
|
|
if(deconstruction_state == NUKESTATE_INTACT)
|
|
switch(get_nuke_state())
|
|
if(NUKE_OFF_LOCKED, NUKE_OFF_UNLOCKED)
|
|
icon_state = "nuclearbomb_base"
|
|
update_icon_interior()
|
|
update_icon_lights()
|
|
if(NUKE_ON_TIMING)
|
|
cut_overlays()
|
|
icon_state = "nuclearbomb_timing"
|
|
if(NUKE_ON_EXPLODING)
|
|
cut_overlays()
|
|
icon_state = "nuclearbomb_exploding"
|
|
else
|
|
icon_state = "nuclearbomb_base"
|
|
update_icon_interior()
|
|
update_icon_lights()
|
|
|
|
/obj/machinery/nuclearbomb/proc/update_icon_interior()
|
|
overlays -= interior
|
|
switch(deconstruction_state)
|
|
if(NUKESTATE_UNSCREWED)
|
|
interior = image(icon,"panel-unscrewed")
|
|
if(NUKESTATE_PANEL_REMOVED)
|
|
interior = image(icon,"panel-removed")
|
|
if(NUKESTATE_WELDED)
|
|
interior = image(icon,"plate-welded")
|
|
if(NUKESTATE_CORE_EXPOSED)
|
|
interior = image(icon,"plate-removed")
|
|
if(NUKESTATE_CORE_REMOVED)
|
|
interior = image(icon,"core-removed")
|
|
if(NUKESTATE_INTACT)
|
|
interior = null
|
|
add_overlay(interior)
|
|
|
|
/obj/machinery/nuclearbomb/proc/update_icon_lights()
|
|
overlays -= lights
|
|
switch(get_nuke_state())
|
|
if(NUKE_OFF_LOCKED)
|
|
lights = null
|
|
if(NUKE_OFF_UNLOCKED)
|
|
lights = image(icon,"lights-safety")
|
|
if(NUKE_ON_TIMING)
|
|
lights = image(icon,"lights-timing")
|
|
if(NUKE_ON_EXPLODING)
|
|
lights = image(icon,"lights-exploding")
|
|
add_overlay(lights)
|
|
|
|
/obj/machinery/nuclearbomb/process()
|
|
if(timing && !exploding)
|
|
bomb_set = TRUE
|
|
if(detonation_timer < world.time)
|
|
explode()
|
|
else
|
|
var/volume = (get_time_left() <= 20 ? 30 : 5)
|
|
playsound(loc, 'sound/items/timer.ogg', volume, 0)
|
|
|
|
/obj/machinery/nuclearbomb/attack_paw(mob/user)
|
|
return attack_hand(user)
|
|
|
|
/obj/machinery/nuclearbomb/ui_interact(mob/user, ui_key="main", datum/tgui/ui=null, force_open=0, datum/tgui/master_ui=null, datum/ui_state/state=default_state)
|
|
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
|
if(!ui)
|
|
ui = new(user, src, ui_key, "nuclear_bomb", name, 500, 600, master_ui, state)
|
|
ui.set_style(ui_style)
|
|
ui.open()
|
|
|
|
/obj/machinery/nuclearbomb/ui_data(mob/user)
|
|
var/list/data = list()
|
|
data["disk_present"] = auth
|
|
data["code_approved"] = yes_code
|
|
var/first_status
|
|
if(auth)
|
|
if(yes_code)
|
|
first_status = timing ? "Func/Set" : "Functional"
|
|
else
|
|
first_status = "Auth S2."
|
|
else
|
|
if(timing)
|
|
first_status = "Set"
|
|
else
|
|
first_status = "Auth S1."
|
|
var/second_status = safety ? "Safe" : "Engaged"
|
|
data["status1"] = first_status
|
|
data["status2"] = second_status
|
|
data["anchored"] = anchored
|
|
data["safety"] = safety
|
|
data["timing"] = timing
|
|
data["time_left"] = get_time_left()
|
|
|
|
data["timer_set"] = timer_set
|
|
data["timer_is_not_default"] = timer_set != default_timer_set
|
|
data["timer_is_not_min"] = timer_set != minimum_timer_set
|
|
data["timer_is_not_max"] = timer_set != maximum_timer_set
|
|
|
|
var/message = "AUTH"
|
|
if(auth)
|
|
message = "[numeric_input]"
|
|
if(yes_code)
|
|
message = "*****"
|
|
data["message"] = message
|
|
|
|
return data
|
|
|
|
/obj/machinery/nuclearbomb/ui_act(action, params)
|
|
if(..())
|
|
return
|
|
switch(action)
|
|
if("eject_disk")
|
|
if(auth && auth.loc == src)
|
|
auth.forceMove(get_turf(src))
|
|
auth = null
|
|
. = TRUE
|
|
if("insert_disk")
|
|
if(!auth)
|
|
var/obj/item/I = usr.get_active_held_item()
|
|
if(istype(I, /obj/item/weapon/disk/nuclear))
|
|
usr.drop_item()
|
|
I.forceMove(src)
|
|
auth = I
|
|
. = TRUE
|
|
if("keypad")
|
|
if(auth)
|
|
var/digit = params["digit"]
|
|
switch(digit)
|
|
if("R")
|
|
numeric_input = ""
|
|
yes_code = FALSE
|
|
. = TRUE
|
|
if("E")
|
|
if(numeric_input == r_code)
|
|
numeric_input = ""
|
|
yes_code = TRUE
|
|
. = TRUE
|
|
else
|
|
numeric_input = "ERROR"
|
|
if("0","1","2","3","4","5","6","7","8","9")
|
|
if(numeric_input != "ERROR")
|
|
numeric_input += digit
|
|
if(length(numeric_input) > 5)
|
|
numeric_input = "ERROR"
|
|
. = TRUE
|
|
if("timer")
|
|
if(auth && yes_code)
|
|
var/change = params["change"]
|
|
if(change == "reset")
|
|
timer_set = default_timer_set
|
|
else if(change == "decrease")
|
|
timer_set = max(minimum_timer_set, timer_set - 10)
|
|
else if(change == "increase")
|
|
timer_set = min(maximum_timer_set, timer_set + 10)
|
|
else if(change == "input")
|
|
var/user_input = input(usr, "Set time to detonation.", name) as null|num
|
|
if(!user_input)
|
|
return
|
|
var/N = text2num(user_input)
|
|
if(!N)
|
|
return
|
|
timer_set = Clamp(N,minimum_timer_set,maximum_timer_set)
|
|
. = TRUE
|
|
if("safety")
|
|
if(auth && yes_code)
|
|
set_safety()
|
|
if("anchor")
|
|
if(auth && yes_code)
|
|
set_anchor()
|
|
if("toggle_timer")
|
|
if(auth && yes_code && !safety)
|
|
set_active()
|
|
|
|
|
|
/obj/machinery/nuclearbomb/proc/set_anchor()
|
|
if(!isinspace())
|
|
anchored = !anchored
|
|
else
|
|
usr << "<span class='warning'>There is nothing to anchor to!</span>"
|
|
|
|
/obj/machinery/nuclearbomb/proc/set_safety()
|
|
safety = !safety
|
|
if(safety)
|
|
if(timing)
|
|
set_security_level(previous_level)
|
|
for(var/obj/item/weapon/pinpointer/syndicate/S in pinpointer_list)
|
|
S.switch_mode_to(initial(S.mode))
|
|
S.nuke_warning = FALSE
|
|
timing = FALSE
|
|
bomb_set = TRUE
|
|
detonation_timer = null
|
|
countdown.stop()
|
|
update_icon()
|
|
|
|
/obj/machinery/nuclearbomb/proc/set_active()
|
|
if(safety && !bomb_set)
|
|
usr << "<span class='danger'>The safety is still on.</span>"
|
|
return
|
|
timing = !timing
|
|
if(timing)
|
|
previous_level = get_security_level()
|
|
bomb_set = TRUE
|
|
set_security_level("delta")
|
|
detonation_timer = world.time + (timer_set * 10)
|
|
for(var/obj/item/weapon/pinpointer/syndicate/S in pinpointer_list)
|
|
S.switch_mode_to(TRACK_INFILTRATOR)
|
|
countdown.start()
|
|
else
|
|
bomb_set = FALSE
|
|
detonation_timer = null
|
|
set_security_level(previous_level)
|
|
for(var/obj/item/weapon/pinpointer/syndicate/S in pinpointer_list)
|
|
S.switch_mode_to(initial(S.mode))
|
|
S.nuke_warning = FALSE
|
|
countdown.stop()
|
|
update_icon()
|
|
|
|
/obj/machinery/nuclearbomb/proc/get_time_left()
|
|
if(timing)
|
|
. = round(max(0, detonation_timer - world.time) / 10, 1)
|
|
else
|
|
. = timer_set
|
|
|
|
/obj/machinery/nuclearbomb/blob_act(obj/structure/blob/B)
|
|
if(exploding)
|
|
return
|
|
qdel(src)
|
|
|
|
/obj/machinery/nuclearbomb/tesla_act(power, explosive)
|
|
..()
|
|
if(explosive)
|
|
qdel(src)//like the singulo, tesla deletes it. stops it from exploding over and over
|
|
|
|
#define NUKERANGE 127
|
|
/obj/machinery/nuclearbomb/proc/explode()
|
|
if(safety)
|
|
timing = FALSE
|
|
return
|
|
|
|
exploding = TRUE
|
|
yes_code = FALSE
|
|
safety = TRUE
|
|
update_icon()
|
|
for(var/mob/M in player_list)
|
|
M << 'sound/machines/Alarm.ogg'
|
|
if(ticker && ticker.mode)
|
|
ticker.mode.explosion_in_progress = 1
|
|
sleep(100)
|
|
|
|
if(!core)
|
|
ticker.station_explosion_cinematic(3,"no_core",src)
|
|
ticker.mode.explosion_in_progress = 0
|
|
return
|
|
|
|
enter_allowed = 0
|
|
|
|
var/off_station = 0
|
|
var/turf/bomb_location = get_turf(src)
|
|
var/area/A = get_area(bomb_location)
|
|
if(bomb_location && (bomb_location.z == ZLEVEL_STATION))
|
|
if(istype(A, /area/space))
|
|
off_station = NUKE_MISS_STATION
|
|
if((bomb_location.x < (128-NUKERANGE)) || (bomb_location.x > (128+NUKERANGE)) || (bomb_location.y < (128-NUKERANGE)) || (bomb_location.y > (128+NUKERANGE)))
|
|
off_station = NUKE_MISS_STATION
|
|
else if(istype(A, /area/syndicate_mothership) || (istype(A,/area/shuttle/syndicate) && bomb_location.z == ZLEVEL_CENTCOM))
|
|
off_station = NUKE_SYNDICATE_BASE
|
|
else
|
|
off_station = NUKE_NEAR_MISS
|
|
|
|
if(istype(ticker.mode, /datum/game_mode/nuclear))
|
|
var/obj/docking_port/mobile/Shuttle = SSshuttle.getShuttle("syndicate")
|
|
var/datum/game_mode/nuclear/NM = ticker.mode
|
|
NM.syndies_didnt_escape = (Shuttle && Shuttle.z == ZLEVEL_CENTCOM) ? 0 : 1
|
|
NM.nuke_off_station = off_station
|
|
|
|
ticker.station_explosion_cinematic(off_station,null,src)
|
|
if(ticker.mode)
|
|
if(istype(ticker.mode, /datum/game_mode/nuclear))
|
|
var/datum/game_mode/nuclear/NM = ticker.mode
|
|
NM.nukes_left --
|
|
if(!ticker.mode.check_finished())//If the mode does not deal with the nuke going off so just reboot because everyone is stuck as is
|
|
spawn()
|
|
world.Reboot("Station destroyed by Nuclear Device.", "end_error", "nuke - unhandled ending")
|
|
|
|
|
|
/*
|
|
This is here to make the tiles around the station mininuke change when it's armed.
|
|
*/
|
|
|
|
/obj/machinery/nuclearbomb/selfdestruct/set_anchor()
|
|
return
|
|
|
|
/obj/machinery/nuclearbomb/selfdestruct/set_active()
|
|
..()
|
|
if(timing)
|
|
SSmapping.add_nuke_threat(src)
|
|
else
|
|
SSmapping.remove_nuke_threat(src)
|
|
|
|
/obj/machinery/nuclearbomb/selfdestruct/set_safety()
|
|
..()
|
|
if(timing)
|
|
SSmapping.add_nuke_threat(src)
|
|
else
|
|
SSmapping.remove_nuke_threat(src)
|
|
|
|
//==========DAT FUKKEN DISK===============
|
|
/obj/item/weapon/disk
|
|
icon = 'icons/obj/module.dmi'
|
|
w_class = WEIGHT_CLASS_TINY
|
|
item_state = "card-id"
|
|
icon_state = "datadisk0"
|
|
|
|
/obj/item/weapon/disk/nuclear
|
|
name = "nuclear authentication disk"
|
|
desc = "Better keep this safe."
|
|
icon_state = "nucleardisk"
|
|
persistence_replacement = /obj/item/weapon/disk/fakenucleardisk
|
|
obj_integrity = 250
|
|
max_integrity = 250
|
|
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 30, bio = 0, rad = 0, fire = 100, acid = 100)
|
|
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|
|
|
|
/obj/item/weapon/disk/nuclear/New()
|
|
..()
|
|
poi_list |= src
|
|
START_PROCESSING(SSobj, src)
|
|
|
|
/obj/item/weapon/disk/nuclear/attackby(obj/item/I, mob/living/user, params)
|
|
if(istype(I, /obj/item/weapon/claymore/highlander))
|
|
var/obj/item/weapon/claymore/highlander/H = I
|
|
if(H.nuke_disk)
|
|
user << "<span class='notice'>Wait... what?</span>"
|
|
qdel(H.nuke_disk)
|
|
H.nuke_disk = null
|
|
return
|
|
user.visible_message("<span class='warning'>[user] captures [src]!</span>", "<span class='userdanger'>You've got the disk! Defend it with your life!</span>")
|
|
loc = H
|
|
H.nuke_disk = src
|
|
return 1
|
|
return ..()
|
|
|
|
/obj/item/weapon/disk/nuclear/suicide_act(mob/user)
|
|
user.visible_message("<span class='suicide'>[user] is going delta! It looks like [user.p_theyre()] trying to commit suicide!</span>")
|
|
playsound(user.loc, 'sound/machines/Alarm.ogg', 50, -1, 1)
|
|
var/end_time = world.time + 100
|
|
var/newcolor = "#00FF00"
|
|
while(world.time < end_time)
|
|
if(!user)
|
|
return
|
|
if(newcolor == "#FF0000")
|
|
newcolor = "#00FF00"
|
|
else
|
|
newcolor = "#FF0000"
|
|
user.add_atom_colour(newcolor, ADMIN_COLOUR_PRIORITY)
|
|
sleep(1)
|
|
user.remove_atom_colour(ADMIN_COLOUR_PRIORITY)
|
|
user.visible_message("<span class='suicide'>[user] was destroyed by the nuclear blast!</span>")
|
|
return OXYLOSS
|
|
|
|
/obj/item/weapon/disk/nuclear/process()
|
|
var/turf/diskturf = get_turf(src)
|
|
if(diskturf && (diskturf.z == ZLEVEL_CENTCOM || diskturf.z == ZLEVEL_STATION))
|
|
return
|
|
else
|
|
get(src, /mob) << "<span class='danger'>You can't help but feel that you just lost something back there...</span>"
|
|
var/turf/targetturf = relocate()
|
|
message_admins("[src] has been moved out of bounds in \
|
|
[ADMIN_COORDJMP(diskturf)]. Moving it to \
|
|
[ADMIN_COORDJMP(targetturf)].")
|
|
log_game("[src] has been moved out of bounds in [COORD(diskturf)]. \
|
|
Moving it to [COORD(targetturf)].")
|
|
|
|
/obj/item/weapon/disk/nuclear/proc/relocate()
|
|
var/targetturf = find_safe_turf(ZLEVEL_STATION)
|
|
if(!targetturf)
|
|
if(blobstart.len > 0)
|
|
targetturf = get_turf(pick(blobstart))
|
|
else
|
|
throw EXCEPTION("Unable to find a blobstart landmark")
|
|
|
|
if(ismob(loc))
|
|
var/mob/M = loc
|
|
M.transferItemToLoc(src, targetturf, TRUE) //nodrops disks when?
|
|
else if(istype(loc, /obj/item/weapon/storage))
|
|
var/obj/item/weapon/storage/S = loc
|
|
S.remove_from_storage(src, targetturf)
|
|
else
|
|
forceMove(targetturf)
|
|
// move the disc, so ghosts remain orbiting it even if it's "destroyed"
|
|
return targetturf
|
|
|
|
/obj/item/weapon/disk/nuclear/Destroy(force)
|
|
var/turf/diskturf = get_turf(src)
|
|
|
|
if(force)
|
|
message_admins("[src] has been !!force deleted!! in \
|
|
[ADMIN_COORDJMP(diskturf)].")
|
|
log_game("[src] has been !!force deleted!! in [COORD(diskturf)].")
|
|
poi_list -= src
|
|
STOP_PROCESSING(SSobj, src)
|
|
return ..()
|
|
|
|
var/turf/targetturf = relocate()
|
|
message_admins("[src] has been destroyed in [ADMIN_COORDJMP(diskturf)]. \
|
|
Moving it to [ADMIN_COORDJMP(targetturf)].")
|
|
log_game("[src] has been destroyed in [COORD(diskturf)]. Moving it to \
|
|
[COORD(targetturf)].")
|
|
return QDEL_HINT_LETMELIVE //Cancel destruction unless forced
|
|
|
|
/obj/item/weapon/disk/fakenucleardisk
|
|
name = "cheap plastic imitation of the nuclear authentication disk"
|
|
desc = "Broken dreams and a faint odor of cheese."
|
|
icon_state = "nucleardisk"
|