Commit Graph

2652 Commits

Author SHA1 Message Date
ynot01
7f928a2019 NTOS PDA Messenger update username based on ID (#15560)
* namechange on id

* Update ntpda_msg.dm

* make wider and set on spawn and apply to phones

* extend max name len
2022-10-08 14:30:14 +01:00
Chubbygummibear
5b3acf10be Modular Computer Themes and PDA theme game preference option (#15735)
* themes and stuff

* theme app cleanup

* that should be it

* i said commit

* readability

* comment cleanup

* mooglecode

* moog spacing

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Bibby

* there actual names

* not needed

Co-authored-by: Redmoogle <dakotamew@gmail.com>
2022-10-01 12:38:09 +01:00
Redmoogle
a91ef5c4bf Datum lighting (#15931)
* Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)

credit to zewaka for the idea of using underlays

turns the lighting object movables that were unnecessary and increased maptick into a datum which then applies and removes an underlay in update(). also applies a lot of general lighting clean ups (mostly using as anything in loops and fixing single letter var names).

multiz is a little different by necessity, now only the bottom turf's lighting matters in the brightness of the top turf unlike master where the bottom turf's lighting object is hidden from the vis_contents of the top turf. there are still some kinks to iron out here though, since currently objects suspended in openspace (like tram platforms) look bad and glass floors look bad too

only thing i have left to do is make multiz work (well)

UPDATE: multiz now appears the same as far as i can tell, its possible there are other situations in which its different but datum mats work and it automatically updates if the turf below changes. now i just need to make the system less finnicky if at all possible (and possibly merge managed_turf_vis_content with managed_overlays maybe?)

new update: its basically equivalent to normal multiz as far as i can tell (visually at least, in the circumstances ive tested so far)

NEW NEW UPDATE: turfs no longer have the VIS_HIDE vis_flag and multiz works without stacking the lighting from the floor below! so this shouldnt have any overt drawbacks to master anymore

1 needless movable per tile is terrible for maptick. this is probably a larger improvement than my emissive blocker change in terms of maptick. im guessing we'd get around 0.6 average maptick per player after this where currently we get 0.85 or so

Edit: according to lemon, sybil reached 0.71 maptick per person when tm'd with this

if this is a big enough improvement i might finally be able to get rid of the Gone discord avatar

* Revert "Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)"

This reverts commit ffbbeb64f4.

* port from another codebase

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-09-30 19:54:14 +02:00
TheGamerdk
afa361fa94 Budgets are now granted free money to cover 95% of paychecks (#15704)
* money

* Update economy.dm
2022-09-28 01:25:10 +02:00
Redmoogle
f42407cfc0 makes donor work again (#15600)
* Update job.dm

* move code down

* ah, look for pda only, the brig phys laptop is getting found first
2022-09-10 20:36:01 +02:00
Redmoogle
02f7d79c9c Fixes Regal Rats & Reenables them (#15529)
* Update regalrat.dm

* rest of fixes

* Misc

* add text
2022-09-04 14:11:56 +01:00
ynot01
330f30f12e NTOS PDA Hotpatch 1 (#15507)
* Revert "update fork"

This reverts commit 67263d524d, reversing
changes made to e159e4b737.

* Revert "Revert "update fork""

This reverts commit e678f6f6da.

* Update borg_ai_skin_datums.dm

* nt

* poke turdis

* Update ntpda_msg.dm
2022-08-29 20:59:04 +01:00
ynot01
f0b0481c21 Replace roundstart PDA (2010) with PDA (2021) SECOND TRY BABYYY (#15243)
* Replace roundstart PDA (2010) with PDA (2021)

* adds NTOS PDAing

* fix signal, set phone/tablet presets

* satisfy linter

* dont require ntnet and gen code correctly

* keep donor pdas

* fix stuff, mostly donor stuff

* update line num

* gen code correct

* fix donor, uplink signal, self history

* sets username to real name on spawn

* h -> living_mob

* update plasmaman & update donor with new sprites

* adds pda bombing to ntos

* add pens to NT tablets

* Update NtosBomberMan.js

* Update tablet.dm

* Update tablet.dm
2022-08-29 13:53:59 +01:00
adamsong
44cd06ecc6 [ADMIN] Chganges auth backend to use the forums instead of the DB (#15195)
* [ADMIN] Chganges auth backend to use the forums instead of the DB

* Remove dbranks flag

* I'm dumb

* re-promotes myself

* Re-use datums, rather than continually re-making them

* Delete the datum instead, easier to manage

* Moved to an inhertiance based system for permissions management

* Proccall protection and logging

* Linter

* Update config

* Fixes pp I hope

* Two letters made it do a bad, I am sad

* Clears forums admins when reloading

* Adds db support

* Update config

* Re-enables forum integration

* No editing the funny datum

* Allow me to do the funny during the test merge

* Didn't commit the changes

* Copying and pasting hard

* Sanitize ckey

* Var is unnecessary

* Small debug log to debug dono chat

* Fixes wrong proc call

* Move log, will be a bit much, but is fine because its temporary

* Made better log message

* Fixed reload admins, added debug log to json_decode that was erroring

* Expanded forums integration error handling

* Fully protects funny lists
2022-08-28 14:26:46 +01:00
Redmoogle
e2d13b2b8e Update economy.dm (#15415) 2022-08-24 10:22:58 -04:00
ynot01
c794a5a80d pretty fix (#15430) 2022-08-23 15:43:36 -04:00
nmajask
719bdc8ca2 Port s NIRN/bounty board, tweaks budgets, and other small modular computer things (#15019)
* nirn, bounty board, and other things

* oops

* oops x2
2022-08-20 23:53:22 +01:00
Redmoogle
ee46df1041 Update achievements.dm (#15326) 2022-08-20 13:42:40 +01:00
ynot01
b581a22dc9 [ADMIN] [s] add pretty filters to announcement & shuttlecall, cd to alert level set (#15288)
* fix grief

* SECONDS

* uses cooldown defines

* Apply suggestions from code review

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2022-08-20 13:40:24 +01:00
Bop
db04f95cb7 [PORT] Examine Block (#15267)
* bo

* e

* okay gaming

* whiios

* wona
2022-08-14 18:37:39 +01:00
Redmoogle
517d7d0b0d Simplify feature (#15158) 2022-08-14 17:41:45 +01:00
alexkar598
45f9fd1bd0 [s] Locks apiurl config (#15196) 2022-08-07 00:31:15 +00:00
TheGamerdk
e1aed49a3b bonk (#15136) 2022-08-05 14:49:01 +01:00
Bop
55b05088b3 REST KEYBIND!! (#15101) 2022-08-05 14:30:57 +01:00
Redmoogle
e4cf2139c4 Re-adds donator chat (#15077)
* Readd Donator Chat

* Fixes

* Cleanups
2022-08-05 14:16:34 +01:00
adamsong
10e97c4406 Makes account ids not bad (#15126) 2022-08-05 13:33:10 +02:00
TheGamerdk
02c86b58f1 done (#14990) 2022-07-30 15:57:34 +01:00
nmajask
0fb400104a Ports hyposprays MK. II (#14814)
* cit hypos

* pain, suffering even

* maps too

* kilo as well

* delta fix

* syndicate hypospray + kit

* qmc sprite

* red crosses bad

* agh
2022-07-16 16:08:47 +01:00
Jamie D
226b827724 [admin] Moves Around a few Admin Verbs (#14600)
* Moves Around a few Admin Verbs

* Verbs

* e
2022-07-16 13:03:33 +02:00
Byemoh
8525a40b6b Mining Rework 1.9999: Kills turf based mining generation and replaces it with Cellular Automata cave generation (#14528)
* Update config.txt

* ok

* Update Lavaland.dmm

* Update LavalandGenerator.dm

* help

* fuck you

* yep

* fuck these turfs

* yeah

* Update rust_g.dll

* Update dependencies.sh

* Update dependencies.sh

* thank you merger

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2022-07-09 13:12:58 +01:00
adamsong
aa0f77d6ab Update demo.dm (#14628) 2022-07-01 23:51:19 +01:00
Jamie D
fc00bf5680 Disabling Regal Rat till its fixed (#14437)
* Update mouse.dm

* fuck off
2022-06-26 12:46:33 +01:00
Theos
15d91f3dc3 Adds stored research and makes toxins bombs apply it instead of directly producing points (#14442)
* h boy this is going to b efun

* Update research.dm

* Update _techweb.dm

* Update research.dm

* nearly caused an incident
2022-06-19 11:06:00 +01:00
TheGamerdk
c90e5f0e9b Update research.dm (#14377) 2022-06-11 15:48:15 +01:00
adamsong
5d654ef638 Disables plague rat, because plague rat bad (#14304) 2022-06-06 17:56:22 +02:00
tattax
e7e97d8bf2 mice changes + carrying animals (+monkeys) (#14302)
* s

* d

* s
2022-06-04 16:16:58 +01:00
ynot01
a94aa9a6f4 round actually ends on narsie & time defines (#14207)
* round actually ends on narsie

* time defines

* time defines
2022-05-28 22:56:57 +01:00
tattax
d471328b46 mice // rats fixes and additions (#14256)
* mous

* not needed
2022-05-28 17:24:59 +01:00
TheGamerdk
ef5bd13cc9 [READY][AI] Reworks AI CPU + RAM. Turns the Sig Tech into the Network Admin. Adds overclocking (#13686)
* z-level restrictions

* Initial card rewrite

* UI Mockup

* e

* Functionality almost working

* test map

* pre-rename

* Network Admin Complete

* tiny tiny workshop

* tiny tiny tiny tiny workshop try 2

* makes tgui compile

* map files duh

* gax

* Update engineering.dm

* stuff should cost points

* ew

* Update rack_creator.dm

* attackby

* Update AiRackCreator.js

* Update rack.dm

* Update network_admin.dm

* Update network_admin.dm

* Update cpu.dm

* access and spelling stuff

* Unique imprinter

* maps

* netmin

* oops

* Fractional CPU and search for projects

* AI research points

* Assorted bug fixes

* Research booster upgrade

* netmin

* Examine

* overclocking

* Fractional CPU + Overclocking finished

* Rack upgrades + TGUI linter

* Yogstation

* access

* propers yogstation

* Meta + yogs fix

* kilo

* GAX

* oops

* Update overclocking.dm

* Update resource_distribution.dm

* spaces

* Update AiOverclocking.js

* Update induction.dm

* Update rack_creator.dm

* assorted bugfixes

* Core tracking

* Update AiServerConsole.js

* Update AiDashboard.js

* Update AiDashboard.js
2022-05-16 21:40:38 +01:00
tattax
7cc7105157 damage flags are now defined from tg (#14050)
* 1st

* s

* d

Co-authored-by: Theos <theubernyan@gmail.com>
2022-05-16 20:14:12 +01:00
TheGamerdk
1d21a4cbef [PORT] Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits (#13967)
* Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits (#61719)

* Removed effect/dummy/phased_mob copypasta. Fixed squeak component triggering from abstract effects & co. (#54783)

* bonkies

* fix merge

* secret gateway update (#62003)

admins are now notified about a secret gateway load failing, also logs this
secret z levels are protected from incorporeal movement
fixes unpowered ruin areas being powered
adds a bunch of new areas for secret gateways, since var edited areas probably arent a good idea its good to have a few presets
adds cordon turfs and areas, ingame they just look like the z level border, they are completely indestructible, you cant pass them, and if you somehow do, the cordon area kills you (idea from goon but the code and sprites are mine)
adds a z level injector mapping trait, injects a z level trait into the z level its placed on, if you want to add something like ash storms or whatever to your map
adds an anti xray z level trait, you can optionally add this with the z level injector to protect your map against any xray or whatever

* yesss

* Update walks.dm

* last fixed

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2022-05-16 19:53:46 +01:00
TheGamerdk
66e0a92440 Removes the last remnants of the AI core and improves AI latejoin (#14010)
* No more cores

* Update yogstation.dme

* removes the landmark

* Landmarks gone too

* maps
2022-05-09 15:35:09 +01:00
Mqiib
fb247b5d34 Probably fixes a whole slew of explosions doing twice as much damage as they should (#13983)
* DEEP in the shitcode

* Ok we have a different solution
2022-05-03 21:33:08 -04:00
Byemoh
6b8c821c1c fixes regal rats making minor mapping take 140+ seconds and breaking the stat panel until right when the round starts (#13899)
* what de fuck!

* fixes
2022-04-26 03:18:38 -04:00
SuperSlayer
afe86cc70e Regal rat antag (#13700)
* S

* Adds rat king spawn by event

* Fixing

* Fixing again

* FIXING

* Fixes!

* Fixes...

* Fixxxxxxxessssss

* Fixing!?

* Replaces cheesewedge by feta cheese

* Update code/modules/food_and_drinks/recipes/tablecraft/recipes_misc.dm

Co-authored-by: tattax <71668564+tattax@users.noreply.github.com>

* Moves royal cheese to snacks_cheese.dm

* Update regalrat.dm

* Some funny rat shit

* Updates regal rat sprites

Co-authored-by: tattax <71668564+tattax@users.noreply.github.com>
2022-04-25 22:57:05 +01:00
Altoids1
119ea82e32 The initial subsystem loading now gives an approximate % to completion, among other style tweaks (#13645)
* Makes the HEY LISTEN dialog a bit quieter

Now it only prints to admins. It's still logged and everything, for those who want to shave off the <100 ms it takes the server to usually handle this atmos equalization stuff.

TBH this is such a, weird debug line, I don't really know why it was kept in as a big dumb to_chat(world) for so long.

* Makes the subsystem init dialog look nicer

Now, instead of displaying performance times to the whole `world`, an approximate loading % is printed to everyone (with admins getting the old dialog in span_notice style).

EDIT: Fixes some stuff Gamer complained about
EDIT EDIT: I don't get how SHOULD_CALL_PARENT works

* Update yogstation/code/controllers/subsystem/yogs.dm

Co-authored-by: nmajask <nmajask@gmail.com>

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: nmajask <nmajask@gmail.com>
2022-04-16 00:07:42 +01:00
adamsong
f0a23d102d Fixed config runtime (#13710) 2022-04-15 23:53:30 +01:00
adamsong
f1b0ee3c24 Adds exception handling to the bar spawn procs, should prevent unexpected issues (#13631) 2022-04-10 13:26:56 +01:00
TheGamerdk
418a3611b5 Update ticker.dm (#13578) 2022-04-03 23:12:38 -04:00
TheGamerdk
829e287a26 Update station.dm (#13574) 2022-04-01 18:03:28 -05:00
Simplehorror
3216a41b85 Skip abstract station traits (#13539) 2022-03-31 21:10:58 -05:00
adamsong
22f9d8cdea [s] Non-admins can no longer reboot the server (#13496)
* [s] Non-admins can no longer reboot the server

* Removed froce from no ticket reboot
2022-03-23 20:03:22 +00:00
MenacingManatee
5fae00f93f Ion lawset expansion (#13249)
* merge into main

* Revert "merge into main"

This reverts commit b6aa002a82.

* Creates a second set of weights for ion laws

* Alerts the user if full lawset is changed
2022-02-22 00:22:45 +00:00
Anvilman6
f512706f56 Updates the AI Changes roundstart message (#13281)
Adds some additional clarity and grammar corrections to Bibby's rounstart announcement about AI Changes.
2022-02-15 00:48:17 +01:00
ChesterTheCheesy
4d369ae1db Eldritch horror - the final PR (#13033)
* Update is_helpers.dm

* Update role_preferences.dm

* Update traits.dm

* Update names.dm

* Update traumas.dm

* Update miscellaneous.dm

* Update scanners.dm

* Update sql_ban_system.dm

* Add files via upload

* Update headcrab.dm

* Update panacea.dm

* Create e

* Delete e

* adds horror

* Add files via upload

* Update suicide.dm

* Add files via upload

* Update brain_item.dm

* Update death.dm

* Update human.dm

* Update transform_procs.dm

* Update gun.dm

* Update organ_manipulation.dm

* Update uplink_items.dm

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Create horror.txt

* Add files via upload

* Update yogstation.dme

* adds horror-relatated tips

* fixes a typo

* Update code/_onclick/hud/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/game/objects/effects/temporary_visuals/miscellaneous.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/game/objects/effects/temporary_visuals/miscellaneous.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update code/modules/antagonists/horror/horror.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Update scanners.dm

* Update code/modules/antagonists/changeling/powers/headcrab.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* i hope this won't break again

* actually makes horror unable to force lings to suicide

* fixes duplicate definition

* Not needed, changeling code already checks for that

* Cleans up a lot of code

* thank you theos for absolutely nerfing the crap out of horror tentacle

* cleans up a lot of bibby's suggestions and fixes a few bugs

* not sure if i changed anything in this file, but fuck it

* lets fix that merge conflict

* i sure hope github doesn't go nuclear

* oops made horror unable to work

* i hate logic gates

* sorry for commit spam but this thing literally broke horror and i wanna fix it as soon as possibles

* HAHA STUPID DE MORGAN! (tested works as intended)

* abominations summoned by curator horn should not attack horror anymore

* adds missing "

* cannot use lube ability whilst dead anymore

* Update horror_abilities_and_upgrades.dm

* flailing lube stops when you're killed while doing it

* fixes ordering so you can't get stuck in wrong animation at the last spin

* Horror can no longer squeeze through welded airlocks

* Infesting people is now assigned to Alt+Click

* makes tentacle arm no longer affected by range multipliers

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2022-02-02 18:44:08 +00:00