Commit Graph

739 Commits

Author SHA1 Message Date
nervere
83466f7237 don't initialize more_init subsystem twice (#34502) 2023-07-03 19:06:40 -05:00
nervere
22206ca57c remove deprecated and unused bay hooks (#34497)
* remove deprecated and unused bay hooks

* remove from dme
2023-07-01 11:30:12 +01: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
Exxion
73f7b1c098 Makes game work on 515, probably 2023-04-02 17:20:12 -04:00
SECBATON GRIFFON
d8c8a9bb90 Adds qdel defines (#33991)
* Adds qdel defines

* Adds qdel defines

* halfway through fixes

* rest of em

* fixes

* adds more

* list in action

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-02-10 15:01:18 -06: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
adacovsk
e0e75779bb Remove redundant ticker.minds (#33712)
* remove some redundancy

* Update striketeam_datums.dm

* Update emergency_response_team.dm
2022-12-21 17:44:52 -06:00
D3athrow
c571ee8565 Remove the open port subsystem 2022-12-08 14:48:52 -06:00
ShiftyRail
68688bb81d Slightly changes Runechat system for more robust global performance. (#33646) 2022-12-03 17:04:40 -06:00
Bathos Bathtime
508d22d588 autocall revert (#33693)
Co-authored-by: unknown <bathosbathtime@github.com>
2022-11-28 00:49:35 -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
Hinaichigo
03c70e0960 Cooking with frying pans (#33569)
* Beginnings of frying pan.

* Sprite stuff and make cooking use process().

* Some progress towards being able to put a frying pan on a grill.

* More progress.

* More progress towards campfires and barrels. Recipe flags.

* Progress on the various cooktops and standardize var names.

* Wearing frying pans.

* Get bunsen burners working. Hopefully get jecties working as well.

* Fixes and neatenings.

* Add frying pans to maps.

* Update item_attack.dm

remove debug

* Make some recipes only valid in microwave.

Co-authored-by: threshold862543 <gitgudemailaddress@proton.me>
2022-11-04 21:03:13 -05:00
SECBATON GRIFFON
da695eb774 Relativewall code cleanup (#33539)
* Relativewall code cleanup

* some other PR maybe

* was testing something, again for another PR

* not used

* Revert "not used"

This reverts commit e70a197c22.

* standardised border object stuff

Co-authored-by: SECBATON GRIFFON <sage>
2022-10-21 12:42:15 -05: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
ee32748596 Roundstart bugfixes (#33081)
* Update gameticker.dm

* Update item_spawning.dm

* Update master.dm

* Update master.dm

* Update gameticker.dm
2022-08-21 11:03:39 -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
Damian
f4bb722d5f Don't trip the infinite loop detection, run CHECK_TICK after every iteration 2022-07-16 00:57:52 +02:00
adacovsk
d7daa25a0d Roundstart and Init speed (#32900)
* Update unsorted.dm

* lightswitch init

* ff

* Update test_tiny.dm

* Update lighting.dm

* Update lighting.dm

* Update lightswitch.dm

* remove jump from world/New
2022-07-10 11:50:59 -05:00
adacovsk
73e5e93ba2 Some more lighting optimizations (#32890)
* Update lighting.dm

* Update lighting.dm

* more lighting stuff

* Update time.dm
2022-07-10 11:45:35 -05:00
adacovsk
45c8af82d1 Explosion and Initialization Performance (#32878)
* explosion performance

* Update code/game/objects/explosion.dm

Co-authored-by: kane-f <57303506+kane-f@users.noreply.github.com>

* Update explosion.dm

* Update code/game/objects/explosion.dm

Co-authored-by: Exxion <exxion191@gmail.com>

* Update explosion.dm

* thanks kanef

* remove inward spiral

* Update _HELPERS.dm

* Update code/modules/multiz/_HELPERS.dm

Co-authored-by: kane-f <57303506+kane-f@users.noreply.github.com>

* Update code/modules/multiz/_HELPERS.dm

Co-authored-by: kane-f <57303506+kane-f@users.noreply.github.com>

* Update code/modules/multiz/_HELPERS.dm

Co-authored-by: kane-f <57303506+kane-f@users.noreply.github.com>

* move from unsorted to HELPERS

* Update _HELPERS.dm

* haha woops

* Update unsorted.dm

* remove explosion_recursive

* explosion resistance

* removing old code

Co-authored-by: kane-f <57303506+kane-f@users.noreply.github.com>
Co-authored-by: Exxion <exxion191@gmail.com>
2022-07-10 11:36:16 -05:00
adacovsk
3474e39817 Allows players to call for restart or map vote (if everyone is dead and no admins online) (#32883)
* rock the vote

* tweaks

* Update voting.dm

* should work

* Update voting.js

* Update voting.js

* Update voting.dm
2022-07-10 11:34:53 -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
kane-f
25ef28e54d Faster server startup (#32861)
* Faster object initialisations

* Faster station alert computers

* Removes sleeps in this too, now shaving another 3 seconds off

* Entered

* These work just fine as spawns instead of sleeps, no delays

* Changing this threshold, not much stuff shows up anymore taking longer than 1 tick

* Some logging

* Makes vaults load much faster

* Better like this

* Makes lightspeed ship load much faster

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-07-01 07:09:20 -05:00
kane-f
73d591100e Makes shifts start at exactly 12:00 (#32752)
Co-authored-by: kanef <kanef9x@protonmail.com>
2022-06-09 18:31:11 -05:00
kane-f
d92a442845 Shuttle automatically called if round lasts 8 hours (#32751)
* Shuttle automatically called if round lasts 8 hours

* Plural

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-06-09 18:28:48 -05:00
Hinaichigo
effa4f2461 Biting and kicking while handcuffed but not being pulled, grabbed, or buckled. (#32633)
* Kicking and biting while restrained.

* .

* Fixed remote kicking-and-biting while restrained.

* Account for buckling.

* Update configuration.dm
2022-05-23 01:28:24 -05:00
D3athrow
7497d6f116 Im very smart 2022-05-05 23:06:38 -05:00
D3athrow
7225294938 Added sleep between port resets. 2022-05-05 21:48:17 -05:00
kane-f
0ca20cdab8 Actually fixes multi-z infinite loops (#32470)
* Testing removal of multi-z cap variables in lieue of other system

* Line not needed

* Neither is this

* More cleanup

* Fixed cause of not being able to initialise server with infinite loops of multi-z

* Linter hates these, plus unnecessary anyways

* Cutting down icon update code, still works

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

* more stuff

* Fixed DNA cloning
2022-04-30 16:37:06 -05:00
gurfan
b0ce33cfd8 Escape Pod Computers (#32383)
* the masked man

* :)

* fix

* no empty pods

* visible alert, shuttle lock

* better examine

* sparks

* concealed

* more flavor

* remove tochat

* conceal
2022-04-21 03:56:56 -05:00
DamianX
e34b299749 Removed logging from the new OpenPort workaround (#32423) 2022-04-19 11:35:09 +00:00
DamianX
7b5a27cece Improved " Perhaps fix the problem with people unable to connect to ss13.moe\ (#32410) 2022-04-17 16:47:48 +01:00
adacovsk
d29f1d38f0 Fixes admins softlocking via Nar'Sie (#32320)
* Fix softlock

* Update voting.js

* Update voting.dm

* tweak

* Update gameticker.dm

* Update communications.dm
2022-04-14 03:16:58 -05:00
DamianX
1b7e183a7c Fixed OOC color for dark theme (#32310)
* Fixed OOC color for dark theme

* rm outdated
2022-03-28 22:49:49 -05:00
kane-f
81b757ed1b More cargo crate forwarding fixes (#32301)
* Fixes persistence crates not showing up in cargo forwards

* Fixes timing issue

* Divorces time limit from crate creation for persistence, plus doesn't dock them after success with it

* More sanity

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-03-28 00:00:59 -05:00
kane-f
de50191f04 Fixes cargo forwards not deleting (#32277)
Co-authored-by: kanef <kanef9x@protonmail.com>
2022-03-23 15:50:41 +01: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
d3athrow
642b843d9d Revert "[MDB IGNORE] Liquid reagent puddle system (#32169)"
This reverts commit a5b08f232a.
2022-03-17 14:13:40 -05:00
d3athrow
2572d4c8a5 Revert "Enables puddle reacting/spreading (#32211)"
This reverts commit 7ecbd70997.
2022-03-17 14:12:59 -05:00
kane-f
7ecbd70997 Enables puddle reacting/spreading (#32211)
* Enables puddle reacting, fixes log runtime

* Fixes spreding too

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-03-13 18:29:55 +01:00
DamianX
30b5a2ac1d Fixed a bunch of hard dels (#32186) 2022-03-11 19:14:04 -06:00
kane-f
a5b08f232a [MDB IGNORE] Liquid reagent puddle system (#32169)
* Actual icon

* Puddle reformatting

* Basis of smoothcode

* Moving puddle code into a turf reagent system, reformat and overhaul

* Make this act on splashing, for now

* More work on standardising behaviour

* More standardisation, should ideally make spread work nicer

* Some tweaks

* Fixes

* Makes it work in practice, code slimmed down

* More standardising

* Redone calculations

* Fixes infinite reagents

* Puddle scaling with volume

* Presets for mapping

* Actual stuff

* Better way

* Get actual turf

* Blacklisting some of these

* Evaporation rate

* Removing old splash verb, adding reagents to a turf should do this by default now

* Makes these invisible

* Makes this not cleanable, for now

* Standardising this into reagent stuff

* Fixes

* Space clears reagents

* Basic viscosity system

* Adds some rudimentary values

* Space cleaner thng

* Beginning rework of this, removing unused fuel type

* Fuel puddle rework

* Fuel puddle rework

* Find and replace mishap

* Removing from .dme

* Removing unused variable

* Rewriting the preset init ones

* Redoing mapped puddles

* Makes sure these are gone

* Type fix

* New plane and layer

* Makes slip work

* Fix

* Fix

* Puddles can now react to crossing over it

* Proper bracketing

* Puddle values

* Current puddle reference to save on locating

* Nicer smoothing

* Tweaking values

* Water color tweak

* Greatly simplifies wet floor puddles

* Simplified line

* No reason for invisible puddles anymore

* Makes wet/dry vaccuum work with this

* Mop

* Reformatting how reagents are held

* Allows space cleaner to clean some kinds of puddles

* Fixing

* Moving this to simulated level

* Fixes puddles not being made anymore

* Standardised alpha

* Removing this for now

* Fixing chem dupe issue for when this matters

* Server config for behaviour

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-03-11 19:13:44 -06: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
DamianX
8dcc7ca7f8 Restored dusky's robotic vocal cords (#32160) 2022-03-02 22:22:31 -05:00
adacovsk
3c4288979f Voting.dm associated files tweaks (#32064)
* Trying

* works

* Update voting.js

* Update voting.js

* Update voting.js

* moved text
2022-02-24 11:22:37 -06:00