Commit Graph

68 Commits

Author SHA1 Message Date
Anthony "Shifty Rail
189f77cbb7 Refactors player preferences for modularity + SQLite Unit Test (#37615)
* Pref code refactor

* Empty database reference

* Unit testing SQLite

* Everything else

* Disable unit testing.

* Equivalent

* more robust unit tests
2025-06-07 09:54:09 -04:00
ShiftyRail
053868ccd4 Fixes meat hard dels, fixes new player hard del (#37641)
* Fixes meat hard dels, fixes new player holdover ref

* box

* you know what i'm not smart enough

* better

* Update atoms.dm

Unit tests?

* this is fine for now?

* it just works lol

* .dme
2025-05-27 15:02:39 -04:00
Peter Wedder
2620ad735b Add new midround antag: the divergent clone (#37334)
* Add new midround antag: the divergent clone

Divergent clones are perfect copies of existing, potentially still living crew members,
created in a freak cloner accident. They can remember the original's antag status,
and may sometimes be evil which means they get traitor objectives. If the original
is also a traitor, the evil clone will share their objectives.

* give the spirits-in-waiting the default ghost sprite instead

* skip records check if forcespawn is enabled

* Forgot the role

* Review fixes

* duh
2024-12-19 18:46:07 -05:00
hacker-on-steroids
7aa4f81f9c traitorborg alert fix 2 (#36731)
* Signed-off-by: faggot <janezivan@cock.li>

* Signed-off-by: faggot <janezivan@cock.li>

* hopefully this finally works

---------

Co-authored-by: faggot <janezivan@cock.li>
2024-07-09 08:54:27 -04:00
boy2mantwicethefam
83fb323882 Update misc_gamemode_procs.dm (#35021) 2023-10-13 00:41:31 -05:00
nervere
a8076f473e sleeping people aren't dying (#33818) 2022-12-20 13:48:51 -06:00
adacovsk
61b5eddbe5 Roundstart PR: Attempt 2 (#33424)
* use roundstart_pop_ready instead of rst_pop

* move setup for dynamic

- moves mode.Setup so antags spawn before crew
- adds close_spawn_windows

* get rid of create_roundstart_human

* try again

* remove captainship message and add close_spawn_windows

* mostly works

* works

* Update gameticker.dm

* oops guess it's somehow necessary

* replace client references with variable

* tweak parameter and remove else

* Update new_player.dm

* change setup of ticker.mind

* move new_player_panel_proc

* actually don't move ticker.mind

* Update gameticker.dm

* Create all crew and antags, then spawn

Tested:
- AI
- Captain
- Latejoin captain
- malf AI
- nuke op
- syndicate borg

* remove close_spawn_windows() unnecessary

* adds a CHECK_TICK

* move store positon and ticker.mind for antags

* Update misc_gamemode_procs.dm

* Update misc_gamemode_procs.dm

* Update robot.dm

* Update robot.dm

* Update robot.dm

* fixes PR

* fixes clown and mime database names

* Update gameticker.dm

* fix species whitelisting

* Revert "fix species whitelisting"

This reverts commit 7c052cfe66.

* modify whitelist species

- unused
- annoying to use
- annoying to modify
- I hate it

* Update setup.dm

* turns out mutons are no good

* Update species.dm

* fix a runtime
2022-10-04 09:09:34 -05:00
ShiftyRail
53e4bafd00 Revert "Roundstart Fixes: Final Big PR (#33184)" (#33229)
This reverts commit 0aa7acf969.
2022-09-05 21:38:00 +01:00
adacovsk
0aa7acf969 Roundstart Fixes: Final Big PR (#33184)
* use roundstart_pop_ready instead of rst_pop

* move setup for dynamic

- moves mode.Setup so antags spawn before crew
- adds close_spawn_windows

* get rid of create_roundstart_human

* try again

* remove captainship message and add close_spawn_windows

* mostly works

* works

* Update gameticker.dm

* oops guess it's somehow necessary

* replace client references with variable

* tweak parameter and remove else

* Update new_player.dm

* change setup of ticker.mind

* move new_player_panel_proc

* actually don't move ticker.mind

* Update gameticker.dm

* Create all crew and antags, then spawn

Tested:
- AI
- Captain
- Latejoin captain
- malf AI
- nuke op
- syndicate borg

* remove close_spawn_windows() unnecessary

* adds a CHECK_TICK

* move store positon and ticker.mind for antags

* Update misc_gamemode_procs.dm

* Update misc_gamemode_procs.dm
2022-09-05 11:02:59 -05:00
boy2mantwicethefam
de46f886d1 Update misc_gamemode_procs.dm (#32963) 2022-08-17 22:21:58 -05:00
gurfan
12b68b9546 Electric Boogaloo (Take Two) (#31892)
* wall and floor and overlay icons

* HOLY SHIT PLANEMASTERS ARE AMAZING <3 LUMMOX

* nevermind shit is fucked i hate byond

* apc hackin tweaks start now

* attack_ai is overridden almost everywhere for zero reason

* more attack_ai shit

* more shit

* FORCEDISABLE pt. 1

* FORCEDISABLE pt 2

* more forcedisable 3

* 3.1

* end of forcedisable

* remove all hackview shit, cleanup

* better apc hacking, lots of fixes, and UI!

* more machine ability, lots of cleanup, radial lock updating, modules and active modules

* movable ui elements

* ADVANCED hologrmas

* more SHIT

* SHUNTSHUNTSHUNT

* fig congflgighgsa

* more testing

* fuck

* commit 2

* holo fixes

* fake APC images!

* lots of stuff

* fixes and cleanup and vomit

* More abilities. AI Control fixes and cleanup

* fixes

* fix

* clear another warning

* remove comment fix numbers

* raise price

* raise price

* fix

* 1 autoborger limit

* remove undocumented change

* handle at bot level

* order of operations

* dont call ert

* decrease

* fix unit test

* icon check please work

* remove unused icons, comment out chem dispenser drain

* comment out firewall, add disable to turrets

* remove unused wall icons

* Sort mob list, humans appear at the top

* fix sorting, fix hologram bug

* hologram tweaks, stupid fucking alert APC name

* qdel

* raise ever so slightly

* revert

* Delete broken_hand_icons.txt

* Update setup.dm

* Create setup.dm

* attack_self

* fix filter icon, delete unused file, remove forcedisable from magtape deck

* accidental change

* mousedropfrom recharge station

* oh rite

* fixo

* remove useless code

* aaahhh

* remove rig meal, made obsolete by emag

* fffffshhhhhhwooooop

* typo!
2022-01-31 18:18:06 -06:00
DamianX
c5dffbe635 Revert "Electric Boogaloo (#31728)" (#31868)
This reverts commit 8bb40feca6.
2022-01-19 15:46:18 +01:00
gurfan
8bb40feca6 Electric Boogaloo (#31728)
* wall and floor and overlay icons

* HOLY SHIT PLANEMASTERS ARE AMAZING <3 LUMMOX

* nevermind shit is fucked i hate byond

* apc hackin tweaks start now

* attack_ai is overridden almost everywhere for zero reason

* more attack_ai shit

* more shit

* FORCEDISABLE pt. 1

* FORCEDISABLE pt 2

* more forcedisable 3

* 3.1

* end of forcedisable

* remove all hackview shit, cleanup

* better apc hacking, lots of fixes, and UI!

* more machine ability, lots of cleanup, radial lock updating, modules and active modules

* movable ui elements

* ADVANCED hologrmas

* more SHIT

* SHUNTSHUNTSHUNT

* fig congflgighgsa

* more testing

* fuck

* commit 2

* holo fixes

* fake APC images!

* lots of stuff

* fixes and cleanup and vomit

* More abilities. AI Control fixes and cleanup

* fixes

* fix

* clear another warning

* remove comment fix numbers

* raise price

* raise price

* fix

* 1 autoborger limit

* remove undocumented change

* handle at bot level

* order of operations

* dont call ert

* decrease

* fix unit test

* icon check please work

* remove unused icons, comment out chem dispenser drain

* comment out firewall, add disable to turrets

* remove unused wall icons

* Sort mob list, humans appear at the top

* fix sorting, fix hologram bug

* hologram tweaks, stupid fucking alert APC name

* qdel

* raise ever so slightly

* revert

* Delete broken_hand_icons.txt

* Update setup.dm

* Create setup.dm

* attack_self

* fix filter icon, delete unused file, remove forcedisable from magtape deck

* accidental change

* mousedropfrom recharge station

* oh rite

* fixo

* remove useless code

* aaahhh
2022-01-19 08:15:08 -06:00
gurfan
c91ba046c6 aah (#31784) 2022-01-03 23:23:15 +00:00
kane-f
328c102d7f Player spawn reworks (#31104)
* Player spawn reworks

* Moving roundstart rulesets to this part of proc

* Fixing latejoin spawns too

* Removing wizard mob pre spawn items properly

* Fix

* Strip and delete reworks

* Strip and delete reworks

* Fix

* More of these

* Rearranging this so job assignment happens after role stuff

* Here too

* Reworks silicon roundstart spawn

* Fix I guess

* Unneeded now

* Standardising this

* Standardising and greatly slimming down wizard equip code, finally converted to outfit datum usage

* Redundant

* Even more

* Probably don't need this anymore

* Even more

* Moving this to pre setup, now an actual use for it

* Removing redundant spellbook

* Better to have the teleport in the rulesets rather than the role imo

* Removes silicons from the cube, what a shame

* Nicer

* Now ACTUALLY moving the new player before it becomes an AI

* Fixing runtime

* Moving this here too

* Better way of doing it

* Now works

* Nukie rework

* Here too

* Compile fix

* Logic fix

* And here

* And malf fix too

* Runtime fix?

* Ninja fixes

* Time agents and prisoners

* Raiders

* Last fix

* Probably the easier way after all

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-11-17 16:35:11 -06:00
DeityLink
da9c22af87 Removes some awfulness from the code (#30850)
* Removes some awfulness from the code

* fixes

* derp

* dangit

* ahhhh

* ok FINE you can have it

* just return a string will you

* at this point I'm just throwing stuff at the wall until something sticks

* ok actually I think I see the problem

* also this is redundant actually
2021-09-23 20:09:03 -05:00
DamianX
95cb0d4d23 Components! TGUI uplinks! Oh god! (#30641)
* components

* tgui uplink

* Components! TGUI uplinks! Oh god!

* yeah

* this too
2021-09-09 12:44:13 +00:00
Allspice
38b4273d44 Time agent (#28728)
* Add Time Agent role

* Add Time Ninja to antag prefs

* remove some randomness

* Remove parens

* pacify linter

* Spawn in an evil timeagent twin if they dawdle, start adding 'rearrange' jectie

* Time agent outfit datum

* chronocapture formatting

* Prevent runtimes if rewind rifle is dropped during send_to_past

* make time agent outfit special

* Add teleportitis and ion laws as timeline distortions

* Delete erase-from-timed mobs from in-game logs.

Specifically, PDA server, med/sec/whatever records, and
message server.

* remove merge conflict

* start adding time faction

* more faction changes

* whoops

* moved some jectie stuff into the faction

* adjust the time agent extract objective

now only one anomaly spawns in, even if a time agent twin is generated later.

* add decal to timevoid.dmm

* fix some bugs

* current untested changes

* remove duplicate proc, fix time agent pinpointer

* Add timeslip status effect for stage 1 time agent tardiness

* couple of time agent tardiness adjustments

* whoops

* whoops 2
2021-08-16 17:11:18 -05:00
DeityLink
7e49314233 Fixes Challengers and Elite Syndies not getting their job-exclusive uplink items (#29900)
* why thou

* oh wait

* huh

* qsdqsdqsd
2021-06-25 15:54:25 -05:00
help-maint
9bea4c1a43 Suicide is stored in the mind (#29455) 2021-05-11 08:52:49 -05:00
HarseTheef
a3dddf92e2 Adds Elite Syndicate Bundles (#28883)
* adds sniperspotter team bundle

* grammar

* removes the plasmaman condition until needed

* added thermals for the users

* inheritance

* price adjusted for nukies

* up the price

* excludes nukies and challengers

* two more bundles

adds the workplace shooter and scammer bundles

* Fixed it being unavailable for nukies and challengers

* kurf say change me change

* me do what kurf ask

* this game already takes place in space, it doesn't need more space

* take it back now yall

* indent
2021-02-22 09:32:07 -06:00
DeityLink
f0d3990f6f Challengers reporting a kill absorb their target's remaining TCs into their uplink (#28650)
* succ

* irony

* fix compile
2021-01-26 12:52:08 +01:00
DeityLink
2f8da2757c Introducing a new major antagonist role: "Syndicate Challengers", based on the Double-Agents of old. (#28207)
* double_agents

* syndicate certification

* progress

* SYNDICATE CHALLENGERRRRRRRRRSSSSSS

* fixes shifty

* just gotta test that now

* Update __DEFINES/_macros.dm

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>

* durp

* weakrefs?

* weakrefs!

* herp

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2021-01-20 08:49:22 -03:00
gurfan
1b4610cc38 comment out the spellpoint changes for now 2020-08-03 02:59:06 -05:00
gurfan
caf30f0b6d fix bugs and add spawn points 2020-08-03 01:35:55 -05:00
gurfan
15331948be fighting wizards are on a budget 2020-08-03 01:13:32 -05:00
gurfan
046f4e5885 give them absorb! 2020-08-03 01:06:15 -05:00
gurfan
9f50a50448 red robes for the WPF 2020-08-03 00:34:41 -05:00
DamianX
e8665c2e7f Fixed mob transformation hard dels (#27122) 2020-07-16 22:12:33 +02:00
Kurfursten
3f9592e898 Skin Dye (#26345)
* Skin Dye

* var

* no as

* flags

* more
2020-05-05 11:16:31 +02:00
DamianX
5399c3b0f3 Fixed a bunch of linter warnings (#26360)
* Fixed a bunch of linter warnings

* Fix everything, maybe break something

* Fixed Time Stop not being cast by Arcane Golems

* Fixed arguments of remove_from_storage

* Fixed gun/afterattack arguments

* Fixed gun/Fire arguments

* Fixed arguments to candle/light and mob/emote

* Fixed arguments to simple_animal/revive, simple_animal/gib, robot/drop_item, mob/flash_eyes
2020-05-03 16:06:40 -03:00
DamianX
f77b7e8977 Removed a bunch of references to src in global procs (#26291)
* removed src from equip_vox_raider

* removed src from explosion

* removed src from wages.dm and ethereal_jaunt.dm
2020-04-23 22:29:09 +02:00
SonixApache
4c9f7c5b22 ninja stuff (#25514)
* Ninja v2.2

+ Added a spider clan faction file that handles the dojo and objectives
+ Moved most of the stuff over to the Ninja and Spider Clan faction files
+ Added a first iteration of the dojo - it contains two airlocks and walls to slice, a punching bag, a teleporter button and a launcher button. And some sake.
+ Changed the energy katana to the energy blade of the ninjas of yore
+ Added a new sound effect for ninjas spawning
- Disabled latejoin ninjas. For now.

* fixes all the double stuff and reorganizes

* slight dojo improvements/additions

+ sushi on the table as requested
+ cell drain training area
+ cell drain training area sign
+ cushion to sit on
2020-01-14 20:26:43 -03:00
ShiftyRail
bb6174d8bb Fix vox raiders (#25396)
* Fix vox raiders

* Also fix the only 1 candidate issue
2019-12-14 10:54:59 -03:00
jknpj
590b0d1b66 Wizard/Ninja random name fix (#25397) 2019-12-13 19:50:15 -06:00
MadmanMartian
a8f6f0ebb1 Raiders fixes (#25199)
* Fixes typo (hesit -> heist)

Moves raider equipping and moving from the faction to the role

Vox heist landmarks are now populated into a global list

Adds a shuttle map that's loaded once the faction is created

* Removes the shuttle from being hard mapped

* Helps if I give it the right link

* A hack, but a reasonable one
2019-11-26 16:57:32 -03:00
MadmanMartian
b044d71017 Adds a screen alarm for renaming yourself (#25115)
* Adds a screen alarm for renaming yourself

* Wizard and ninja now use this
2019-11-23 09:42:00 -03:00
Damian
4ef328d8e8 Wizard Apprentices 2019-07-17 03:52:46 +02:00
boy2mantwicethefam
e30a0acf73 Brazil 2019-07-04 12:42:11 +03:00
boy2mantwicethefam
a2d8d280aa Adds intercept for 100 station threat 2019-07-04 02:43:28 +03:00
GlassEclipse
c8b6680a87 modified: code/datums/gamemode/misc_gamemode_procs.dm
modified:   code/datums/gamemode/role/ninja.dm
2019-06-18 21:08:59 -05:00
SonixApache
e8c5980db5 ninja spacecreep (#23045)
* ninja spacecreep

+ Helmet is pressurized for 2 minutes. Time is running out!
+ Shoes are magnetized for 2.2 minutes. Hurry up!
+ Suit is pressurized for 2.5 minutes. Panic!

* whoops
2019-06-01 14:11:17 -03:00
SonixApache
8d720f2db4 fix ninja throw and species runtime (#23002)
+ fixed the runtimes by adding a small sleep, might just use generate_ruleset_body later
+ fixed the throw, it was just an order of operations issue
2019-05-22 00:22:34 +02:00
d3athrow
788623912a Merge pull request #22914 from I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE/dddd
Darkmode v0.1
2019-05-21 10:33:54 -05:00
SonixApache
2a6d8fb338 Space ninja suit + spawn in space + misc (#22917)
* Space ninja suit + spawn in space + misc

+ Added a space suit, helmet, mask and shoes for the space ninja. The space suit has a pAI slot and explodes when non-ninjas try to wear it, the mask works like a voice changer and the shoes prevent slipping.
+ And gave him a headset for good measure
+ Ninjas now spawn in space and get flung at the station!
+ Also added a toy set with a ninja suit and hood, currently unobtainable
+ Fixed / added some sprites so all the suit variants are uniform
+ Fixed a typo in the power glove description
+ Changed the cyber trophy belt sprite to the security one, looks better uniform black (wish it had a unique one)
+ Only humans can be ninjas now :(

* raise ninja cost to compensate

* remove noslip, eyeprot

* fuck exploding actually yeah

* less air

* lower threat to 20, equal to wizard

* apprentice suit that loses pressure protection

* support for global ThrowAtStation proc
2019-05-20 20:37:27 -05:00
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
a12feb3f8e Inline CSS apocalypse part ?? out of ??? 2019-05-13 14:38:16 -03:00
Paul Ritter
19007c36c6 Tator codewords now appear in red when seen by other tators/nukeops (#22638)
* changed how codephrases + responses get saved. now onto the handling of em

* phrases are now list and are being handled as such

* yes

* we modern here

* updated formatting

* fixes

* my initial idea but it actually works

* now not everyone sees the highlights

* done did the deed

* removed locations from syndie codeword pool
2019-05-03 12:39:58 +02:00
Kurfursten
2081400944 The Objectives of the Spider Clan (#22250)
* The Objectives of the Spider Clan

* Expand

* fix for repeating text and non posi mmi
2019-04-11 19:36:10 -03:00
Kurfursten
1fd2959db8 Ninja Blade and Skills (#22135)
* Ninja Blade and Skills

* Fixes

* Ninja final?
2019-03-28 10:33:12 -04:00
Kurfursten
bdd516573c Weeb to Ninja (#21986) 2019-03-13 20:25:07 -03:00