Commit Graph

79 Commits

Author SHA1 Message Date
ShiftyRail
875eca8b71 516 compatibility PR 2: the revenge of Node.js (#37501)
* Part 1: fix tgui

* Fix overdark layering

* Vector code rework

* misc. tgui things

* final DM side fixes

* TGUI try to fix #1

* Nuclear option. Bring all TGUI files. Will begin UNTGification in later commits.

* Untgify: callback

* untgify : config flags & config datums

* Fixes GLOBAL_VAR_INIT

* Purge HASTRAIT

* .dme cleanup

* file by file: status_alert.dm

* file by file : preference datums + remove unused content

* file by file : tgui_input/text.dm

* file by file : fixes asset_cache_client.dm

* file by file : tgui_panel / external.dm

* file by file : tgui / external.dm

* file by file : tgui / states.dm

* file by file : subsystems/assets.dm [unused return type]

* file by file : subsystems/tgui.dm [tg-macro for process()]

* file by file : asset_cache_item.dm [minor proc call fix]

* file by file : fixes a mistype for datum/asset_cache_item

* file by file : removes bugs and unimplemented features in asset_list.dm

* multifile : some more work on asset manager

* File deleted : spirtesheet tg_assets. Don't need them

* Remove unused TG content, fix asset_list.dm

* Fixes a few issues with wrong type paths.

* remove tgui_panel : this is for tgchat/stat2, which we don't use

* fix thing

* misc changes to tgui.dm. Defining QDELETED macro

* final TGui fix

* TGUI file convert : camera console and religion screen

* Works

* GPS fixed + fontAwesome fixed

* Mecha console control

* Fixes blurry icons

* fixes iconbase64 regression

* Misc bug/runtimes fixes

* Fixes runtime funtime

* Add merch computer TGUI

* Fixes TGUI ticking interfaces + MSGS

* PCMC

* Power Monitor working

* Power monitor

* Bugfixes + robot console

* Fixes mecha messages

* Spess dot TV

* TEG

* Syndicate Uplink

* Bump defines and connection warning

* fix?

* Fucking highscores

* Fixes mistakes

---------

Co-authored-by: west3436 <66280799+west3436@users.noreply.github.com>
2025-05-06 02:41:33 -05:00
SECBATON GRIFFON
6443bdba2c Cuts recurring pieces of maps down into fixed vault spawns (#37264)
* first map done

* adds file, plus makes a way to support this recursively

* indents...

* lets this config turn it off

* splits these off

* actually does it

* split off proc to debug call during round if need be

* deff and meta

* packed and way

* some more maps down

* last of the maps actually in rotation

* linestation

* some overwrite tweaks to make the whole thing work

* oh yeah it needs this

* maybe like this

* faster

* cuts this down!

* more cleanup

* cuts this down

* cleans these up too

* does a system for xoq

* some more cutdown

* cuts this down too

* map can be smaller and still load everything, disambiguates this element name for similar reasons

* makes these easier to manage

* covers this too

* some map stuff i missed

* lil fix that makes this work right on xoq

* these are broken on xoq so these have to load unrotated sadly
2024-10-31 10:01:54 -04:00
SECBATON GRIFFON
3a2ecfec92 Makes newscaster news "events" actually used (#37115)
* initial work

* saner

* cleaner

* file split

* moves defines

* cleanup

* compiles

* bus tool

* testing

* better admin tools

* better admin tools

* headlines

* headlines

* more headlines, all done now

* cannot get this to show up over gitignore

* this too

* reverting all of this since i can't get gitignore to behave and it's out of scope

* forgot this

* go again

* saner system, more akin to events subsystem, a lot copied from it

* consistency

* fixes something

* makes this show up too

* reformats

---------

Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
2024-10-01 00:45:28 -05:00
SECBATON GRIFFON
dd9529c7d5 Some subsystem init speedups (#36632)
* just speeds up this subsystem for now

* cuts this down too

* makes this 1.2 seconds faster

* this takes off 0.1 seconds too and works the same

* optimises this too

* new logic shaves off 0.3

* 0.1 seconds off

* sanity

* another 0.1 down

* no time shaved but it does fix this issue and clean up code

* closet cleanup

* cleaner line

* now filters it like so

* no spawn() here for roundstart stuff

* cutdown

* forgot this
2024-08-25 08:51:02 -04:00
SECBATON GRIFFON
1480254bcb Fixes haunting not updating ghost minimap (#36501)
* Fixes haunting not updating ghost minimap

* makes this the right thing

* adds this back because it doesn't work for normal moving otherwise, the events fix the anchor thing
2024-05-30 19:42:42 -04:00
SECBATON GRIFFON
aa2a54a6fb Makes sensed explosions show up on bhangmeter database properly without holominimaps (#36237)
* Makes explosions show up on bhangmeter database properly

* saner way to do this

---------

Co-authored-by: SECBATON-GRIFFON <>
2024-03-27 03:26:57 -05:00
ShiftyRail
91bf8164ca Traitor discount item of the day (#35637)
* Framework for traitor item

* Now working and tested

* Makes the TGUI prettier?

* Fixes possible exploit

* One off random

* Fixes name
2024-01-24 15:40:26 -06:00
Kurfursten
9157b3f3dd Tech Datums Fix (#35670) 2023-12-31 01:35:20 -06:00
DeityLink
39fdaf87f2 dynamicplus extended mark (#35436) 2023-11-26 00:33:23 -06:00
Kurfursten
d780d775e1 Research Archive (#34397)
* Research Archive

* update description

* Log changes

* Spawn intend

---------

Co-authored-by: ShiftyRail <31417754+ShiftyRail@users.noreply.github.com>
2023-11-18 22:42:40 +00:00
jwhitak
6f8c19c007 Cargo Computer Improvements with Minor Crate Update (#35326)
* cargo revamp

* internals kits as requested

* weird crate permissions fix

* missed a spot in the ui

* unused unatomic changes

* last second tweak

* cargo automation desc

* Clown crate desc updated

* cargo icon override

* fix New

* brndd recommended changes

* Optimism Grey pack desc changes

* i now know what starscreen-ex does

* corinjace changes

---------

Co-authored-by: DeityLink <logistics256@gmail.com>
2023-11-11 15:20:41 -06:00
DeityLink
8772159353 fixes persistence (#34736) 2023-07-20 21:23:35 -04:00
SECBATON GRIFFON
2df5d64819 Trader shoal fund score and monthly leaderboard (#33747)
* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* Trader shoal fund score and monthly leaderboard

* text2num

* clarifies this

* forgot this

* Maybe this too

* fixes this logic to make it show up with no escapees

* stops this from not counting

---------

Co-authored-by: SECBATON GRIFFON <sage>
Co-authored-by: SECBATON-GRIFFON <kanef9x@protonmail.com>
2023-07-20 12:09:13 -05:00
DeityLink
463ebf12db Probably fixes the persistence misc subsystem sometimes failing (#34714)
* Probably fixes the persistence misc subsystem sometimes failing

* g'damn stat collector failing my tests

* another roll of the dice

* Update Dreaming.dm

* sanity

* I'm at the end of my wits here

* Revert "I'm at the end of my wits here"

This reverts commit cfbe57f4b2.

* never doubt the code
2023-07-20 12:06:40 -05:00
DeityLink
1b44123b22 Dynamic+ (#34678)
* listing rulesets real quick

* dynamicplus

* Ok nevermind let's keep it simple

* and that too

* hurr

* Update dynamic_rulesets_roundstart.dm
2023-07-17 11:32:07 -05:00
DeityLink
0c1ac9db23 Bhangmeter re-write and other explosive goodness (#34598)
* bhang

* meter

* you've done your time

* explosion goodness

* oh

* derp

* some failsafes

* herp

* the end is never the end

* is never the end

* is never the end

* is never the end

* just keep on testing until it's perfect

* uh

* testing is never over

* alright that's enough

* nevermind, here, blastcanon to your FACE!

* sleep is overrated anyway

* alright enough

* smirk~1.png

* don't want overcap set unless we go past maxcap

* fixes conflicts

* fixing conflicts and applying requested changes
2023-07-14 19:43:46 -05:00
nervere
83466f7237 don't initialize more_init subsystem twice (#34502) 2023-07-03 19:06:40 -05:00
Kurfursten
c5768ec909 Cleaner World Log (#34419) 2023-06-27 09:00:00 +01:00
nervere
9a2bac935b fix mining asteroid secret randomly generated rooms not spawning (#34344) 2023-06-12 10:43:03 -05:00
gurfan
3098f54312 This may be a bad ide 2023-02-03 17:03:51 -06:00
DeityLink
12d6fc8ea3 Fix Chill Bee Packet init (#34048) 2023-01-25 19:05:00 -06:00
SECBATON GRIFFON
b133803c47 Buddha mode + Hell (#33328)
* Buddha mode

* devilish

* HELLISH

* tidy

* fixes

* find a way to do this that doesnt make server be kill

* turn it off for now so we can test better

* lag-free method

* oh this too

* basis of this part

* fixes

* fixes

* fixes

* fixes

* cap on this to stop possible lag

* fix

* Allows admins to ghost if buddha'd

* New way of getting things

* More basic stuff

* More stuff

* actual way to do it

* in practice

* hell freezes over

* cursed dice edition

* tweaking this so it can be turned off if it breaks

* disabilities, removing rendundant thing with floor

* Limbs and final proc sorting

* better like this

* better like this

* better like this

* in setup cause it lags during game

* better logging

* restructured code, buddhas cannot be gibbed

* this too

* this too

* this too

* this too

* finally right bantype

* removed limit

* hell is now a dungeon for performance

* hell is now a dungeon for performance

* hell is now a dungeon for performance

* removes unused zlevel now

* area

* new sneding

* new sending

* fixes proc name

* uses this db call instead for ease of testing, confirms pref copying works anyways, revert to old one if necessary

* testing one for now

* better scope

Co-authored-by: SECBATON GRIFFON <sage>
2022-11-09 15:26:33 -06:00
adacovsk
d7f33c8d7a Shuffle some roundstart procs to init (#33459)
* move to init

* remove some space

* Update more_init_stuff.dm
2022-10-11 01:02:54 -05:00
ebakai
13f5660011 Round Randomized Reagent (#33312)
* Basic randomized reagent (as simpolinol)

* add the dme

* mob go boom

* rename some stuff

* update simplemob list

* refactor explode randomizer

* make /datum/randomized_reagent more modular

* make brute, fire, etc RNG values less absurd, add brain

* add damage scrambling

* how did I even do this

* rename global_randomized_reagent and init_randomized_reagent

* linter

* refactor simpolinol/on_mob_life

* add logging, swap execution order of tf_immerse and tf_catbeast

* add hallucination

* bump probabilities
2022-09-30 03:11:11 -05:00
adacovsk
4dc4770126 move radio (#33078) 2022-08-18 17:29:55 -05:00
adacovsk
8c2d91ac7b Shuffle init procs (#32918)
* shuffle

* Update recruit.dm

* Update Holidays.dm

* obj and departments

* Update Holidays.dm

* Update master.dm

* Update master.dm

* Update objects.dm

* Update gameticker.dm

* from on to off

* Update lightswitch.dm

* Update gameticker.dm
2022-08-17 22:20:00 -05:00
kane-f
db799a8161 Replaces money lotto event with an actual six number lotto (#32830)
* Replaces money lotto event with an actual six number lotto

* Can_start odds

* Takes from jackpot

* Persistent jackpot buildup

* Fix

* Fix

* Tied to amount of stuff bought from this and prices

* Real var name

* More sanity

* Cleanup

* Cleanup

* Starting value just in case

* Persistence tweaks

* Seems more accurate

* Return of the newscasting

* Reducing draw to 32, adding in defines

* Here?

* Clearer defines

* Forgot this one

* Sanity

* Sanity

* Attempt at luck

* Real sanity

* More sanity

* Implemented in practice

* As defines

* Proper divide

* Sanity

* More in-depth luck systewm

* Fix

* Sanity

* Always gets this number if so

* Better here

* Line cutdown

* Better?

* Better again

* Changes it to this system

* Fix

* Better times

* Proper length

* This too

* Better system

* Lotto tickets for a limited time only

* Fixes announcer nudity

* Adds to list

* Reformats this back into startWhen var

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-07-04 15:01:30 -05:00
DamianX
d88568605c Optimizations (#32413)
* stuff

* more stuff

* Fixed DNA cloning
2022-04-30 16:37:06 -05:00
kane-f
a1787011f0 [MDB IGNORE] Cargo crate forwarding (#31967)
* Cargo crate forwarding

* Makes forwarding screen show up

* Crate info, new manifest handling, stamp checking, other stuff

* Station name thing fix

* Time limit system

* Server config to allow this on roundstart

* Centcomm order ones now

* Fixing display

* Makes stacks nicer

* Better sanity checks, will still need to tweak how stacks work and test them more

* Some better crate access for centcomm orders

* Some example misc orders not from either

* Small time limit adjustment

* Basic time left tracker, might improve

* Bones of weighing

* Put this after weighing them maybe, easier

* Wrong one

* Icon for weigher

* Beginning item itself

* Full functionality of item

* Adding the machine to forwardings

* Layer tweak

* User feedback, paper insertion fix

* Fixed time formatting

* Stamping and weighing feedback for checking if done

* Better reason system, failure feedback on what crate too

* Last reason

* Makes names check for duplicates in players too

* Final fix, makes enable/disable button display right on supply console

* Weights the centcomm variant forwards properly, also balances number of crates sent to people in cargo staff

* Random mob cage order

* Mob needed for check too

* Better to do it like this

* Multiplier based on cargo account funds

* Proper accounts sent money to

* Better transaction details

* Forwarding cooldown

* Centcomm request persistence, makes them come back in future rounds as cargo forwards

* Forwards too

* Better name system

* Much better system that won't send out the same previous order twice, and will persist from more than one round

* Extra check

* Another check

* Another check

* Another check

* Better path checking

* Better logging and some fixes

* Allows random mob crate to go back, fixes per unit crates sent back runtiming

* Makes crate weigher more constructable

* Adds weighers to map instead

* Better distribution code

* Preserves the subtype for supply pack and centcomm orders for more accuracy of persistence

* Text2path

* Much nicer formatting of persistence

* Cleans up request persistence too

* Forward amount override for debugging, example config stuff

* More specific crate denial reason

* Makes new persistence actually work, tested

* Forgot this

* Optimising this into one persistence task

* Even more

* Even more

* Gives indices names for even less rigid access

* Less immulsion shattering

* More specific denial

* Should fix cart crates

* Fix

* Current hotfix solution pending tidier one

* Taking this out of the loop, had no reason to be in there

* Better debug log on cooldown formatting

* Some fixes

* New refactored system without hotfix

* Also deletes these

* Everything should work now

* Moving these into supply shuttle

* Keeps these for persistence

* Makes persistence work again, thins it down with probability

* Makes names work here too

* Some name fixes

* Scoreboard

* Number fix

* Round score deduction for failed forwards

* Logs this

* Adding part quality stuff

* Fix

* Updates to new scoreboard format

* Extra checks building system for more realistic centcomm orders

* Doing a few more of these

* Fix

* All sci orders built

* DNA injectors

* Virus stuff, all extra check builds done

* Fixes

* Reformat for info consistency

* Making artifacts built to extra checks, real last one

* GNA symptom disk, real real last one

* Condition fix

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-03-21 15:50:05 -05:00
adacovsk
cfacc40135 Voting Methods (#31907)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Voting Methods

I'll try again now that I separated the changes. Hear me out: I'm just adding new methods, they are not used unless an admin uses them, or a PR is made to change the default. The default remains the same as before. Adding two voting methods: persistent (works only for maps) and random (meme). Considering adding another methods too upon request.

* not working

* done

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* eyup

* Update voting.dm

* Update voting.dm

* Update persistence_misc.dm

* Update voting.dm

* Update voting.dm

* Update persistence_misc.dm

* done

* done

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm
2022-03-11 18:43:33 +01:00
adacovsk
4053d58b83 Voting System (again) (#31966)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Update admin.dm

* sorry

* minor optimization

* Update voting.dm
2022-02-09 18:32:26 -06:00
adacovsk
efbb0494fb Revert "Voting System (#31884)" (#31965)
This reverts commit 11953788f0.
2022-01-31 21:18:25 -06:00
adacovsk
11953788f0 Voting System (#31884)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Update admin.dm
2022-01-31 18:11:03 -06:00
jwhitak
2c99a0e1eb Reduces number of spawning Hobo Shacks (#31250)
* Update hobo shack frequency

* Update map.dm
2021-11-13 08:55:09 -06:00
DamianX
3196622f57 tgui merch computer (#30961)
* tgui merch computer

* header

* update

* update bundle
2021-10-06 19:38:37 -05:00
DamianX
c9d6a779d6 tgui security cameras, removed advanced security camera console (#30607)
* tgui security cameras, removed advanced security camera console

* Si può fare!

* You didn't see that

* don't need this shit anymore
2021-09-17 16:32:16 -05:00
DeityLink
948c26e546 Fixed Teleport Scrolls, Ghost Teleports, and Adminbus Teleports missing most if not all destination areas. (#30225)
* Fixed Teleport Scrolls, Ghost Teleports, and Adminbus Teleports missing most if not all destination areas.

* dfzedfefaze
2021-08-16 02:26:26 +02:00
DeityLink
500c904010 The Manifest Prediction button now appears to new players right away (#30180) 2021-08-11 15:24:41 -05:00
DamianX
d41f092b08 Fixed a bunch of hard-dels (#29966) 2021-07-08 09:53:21 +01:00
kane-f
d00a03e146 New ghost verb: Become Space Hobo (#29808)
* Basis of this job

* The hideout

* More stuff

* Walling

* Start landmarks and APC

* .dme check

* Generation code

* Adding to init

* Tweak for later

* This is needed to compile

* Moving this here to see what it does

* Oh I got the filename wrong

* Saving it like this, maybe now it'll work

* Maybe this will help

* Oh right. Testing for box anyways

* And everywhere else too

* Shack tweaks

* Reformatting this

* Oh it's like this

* Starting tweaks

* And more

* Midround stuff

* Locking it from observers, ideally

* Removing more unused things

* More species

* Typo

* Config stuff

* Safe tweak

* Gives own ID type

* Tajaran outfit

* Redoing shack generation

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-06-23 17:47:02 -05:00
DeityLink
b882c86499 Fixed Scoreboard icons for good (#29774)
* dsqdqs

* fix scoreboard icons
2021-06-12 10:36:54 -05:00
DeityLink
6fa4d98c52 Dynamic Ruleset Pseudo-RNG tweaking (#29753)
* Dynamic Ruleset Pseudo-RNG tweaking

* a bit more

* traitor exemption

* stillborn ruleset detection

* derp

* malf
2021-06-12 00:38:32 -05:00
DamianX
0192543a5e Here, here, here we go! (#29726)
* Here, here, here we go!

* Check date since the player first connected rather than byond account age, thanks b*rry
2021-06-12 00:35:15 -05:00
Deity Link
735fdb0826 I'm a genius 2021-06-10 13:50:49 +02:00
Deity Link
03b0c5e1a1 I don't know what I'm doing 2021-06-09 22:39:02 +02:00
Deity Link
14f8d633bd persistent scoreboard 2021-06-09 15:15:42 +02:00
help-maint
8537952f7c Adds pick_spawners (#29377)
* Adds pickspawners

* Adds more optional functionality to pickspawners

* Whoops indentation

* Call parent so the red X goes away
2021-05-01 14:06:31 -05:00
DamianX
30d4e5fce7 Improved typing indicator episode 2 the revenge (#28120)
* Improved typing indicator episode 2 the revenge

* lil oops
2020-10-31 10:32:45 -03:00
gurfan
7a451484f4 Moves oldviro symptoms and transformation viruses to current virus system (#27946)
* progress

* finish transformation symtoms, add dnaspread

* toxic compensation, move petrification out of viro, wendigo transform

* firt compile, fix errors

* finish up move to virus 2, fix some symptoms

* fix effects

* rework into seperate stages, add stage 1

* cyborg virus done

* mommi part one

* finish mommi virus

* plasma fixes, finish xeno disease, work on wendigo disease

* fix

* global disease hell

* add uplink item

* fix mommiviroos

* rename

* edit desc

* fuggen typo

* static type...?

* oh duh

* adjust colors

* capitalize

* use proce

* remove bundle

* actually remove bundle

* make the proc dothe thing

* move that

* fix
2020-10-10 16:14:07 -05:00
DeityLink
1d6c038c9b Artifacts Panel (#27729)
* artifact_panel

* sanity

* varedit

* fixes

* init order fix

* better archiving

* derp

* okgood

* finishing touches
2020-09-05 22:24:42 -03:00