Commit Graph
42 Commits
Author SHA1 Message Date
MiraandGitHub 5a59c12361 move defines (#28190) 2025-02-02 02:27:41 +00:00
DGamerLandGitHub 19cbfb129a Makes our time defines use strict numbers instead of nested defines (#26069)
* ITS LITERALLY FREE PERFORMANCE

* I CAN DO BASIC MATH I PROMISE
2024-06-30 16:30:17 +00:00
91660824fa Browser/TGUI Stat Panels (#24065)
* initial commit (broken)

* load the html

* fix this

* Fix various issues with browser statpanel

* Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel

* Optimize stat panel and fix guardian verbs

* Restyles Stat Panel, Adds Subpanel Sub-Categories

* Use better layout for verbs in stat panel

* Updates statpanel verb widths to be more dynamic at higher screen resolutions.

* Adjust stat panel grid item widths and breakpoints

* refactors statpanel to use tgui API

* CI moment

* more CI

* this stupid thing

* Apply suggestions from code review

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

* Update code/modules/client/client_procs.dm

* ci fix

* emergency mc debug view

* temp revert some code change suggestions due to massive runtiming

* proper atom click topic implementation

* optimise

* mob clicking in stat panels work

* yeet spell tab thingy

* yeet simple stat panel pref

* allow insertion of html into MC tab content

* tidy up status tab

* Apply suggestions from code review

* fix this

* fix CI

* oops

* fix index runtime

* fixes MC tab showing up for mentors, fixes runtime

* safeties!

* Return of theme support

* more fixes

* fix view range pref, tidy prefs tab

* Remove old stat panel from themes

* fixes

* make sure verbs don't go missing

* fix ooc/looc breaking

* Revert "make sure verbs don't go missing"

This reverts commit 7d07ad45ed.

* fix this properly

* fix stat panel hitting rate limiters

* fix borg status tab

* Object Window Niceties

* Adds file cycling for icon2base64

* optimizes icon2html() for icon files known to be in the rsc at compile time

* CI moment

* remove dupe emergency shuttle timers

* more robust verb updates

* statpanel tweaks

* zip archived changelog to avoid search results

* optimise

* fix mentor chat wonkyness when disabled

* debug log moment

* i am very smart

* reintroduce this because it was needed

* better time listings

* less jank

* stops telling admins they arent mentors

* returns MC tab pref for admins

* Update code/controllers/subsystem/SSstatpanel.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* lewcc

* OD typemaker prep

---------

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Aylong <alexanderkitsa@gmail.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2024-03-07 10:31:36 -05:00
Vi3triceandGitHub fde04ee997 Add seconds to hh:mm:ss proc for Check Antagonists panel (#22733)
* My lost hours

* Update player_panel.dm
2023-10-12 15:27:10 +01:00
Vi3triceandGitHub caee0ec975 [TM] Verb Queue - Port of TG SSverb subsystem (#19863)
* Some verbs queue up now

* Damn you 515

* Screw you Topic

* Update client_procs.dm

* Fixes for unit testing

* Update MC.dm

* verb

* Update callback.dm

* Tweaks

* Linters might not have liked that,

* More tweaks, and fix

* Update verb_manager.dm
2023-01-29 15:05:38 +01:00
warriorstar-orionandGitHub 19d759b257 Whitespace cleanup part 1. (#19890) 2022-12-24 18:36:07 +01:00
72d0990f3f Timestamp QoL (#18878)
* Timestamp QoL

* Fixed Proc

Co-authored-by: Ordosian <Ordosian@gmail.com>
2022-09-07 15:41:48 +01:00
AffectedArc07 b9b022dfce Fixes time (tgstation/tgstation#50278) 2021-08-16 10:47:24 +01:00
AffectedArc07 f5f97882cf BRUTAL Part 1 - No proc var/ in procs 2021-02-01 14:10:08 +00:00
dearmochiandGitHub 5edee29a50 [READY] Syndicate Contractors (#14605)
* Syndicate Contractors initial PR

* Finalize initial version

DNP

Finalize initial version

* Baton now costs 6 Rep, show dead extraction penalty, fix scroll

* Reduce total TC, add zippo, balloon, icon tweaks

* Address moxian, AA and Farie

* Fix mode.txt

* oops

* Address Farie 2

* Tweak baton to work around stam crits, address SteelSlayer

* Address TM issues, TP menu

* Fix wrongly merged DME

* Tick contractor DM files again

* Remove step_y

* TC rewards always higher than preceding difficulty's reward

* Address Farie

* Remove extraction_turf from handle_target_return

* fix doc

* Merge part2

* Address AA again
2020-12-09 12:03:23 -05:00
AffectedArc07andGitHub 90fd9a8fb8 Removes all relative heresy (#13969)
Removes all relative heresy
2020-09-16 12:52:20 -04:00
Kyep d58a12b448 always ensure prisoner is informed 2020-08-26 08:43:29 -07:00
AffectedArc07 aedb16b492 Fixes startup timings 2020-07-06 19:51:01 +01:00
farie82andGitHub 604daa05e1 Adds a new logging system and a logging view (#13115)
* Super early initial commit

* Why do I keep comitting this

* in between

* In between

* Sort fix. Transfer fix. HTML and more

* Scrolling + define values change

* Search fixes and time input fixes

* Minor tweaks. Fuel tank inclusion. Fixes

* derp

* Extra logging to fuel tank

* minor stuff

* add the message to admins for fueltanks

* Don't keep mob/atom references + fixes

* line fixes?

* Review improvements

* pois comment
2020-03-21 17:28:20 -06:00
AffectedArc07 ec790efeaa SSticker 2019-04-30 16:47:47 +01:00
AffectedArc07 8bef0cd2e2 Adds in cell management console 2019-03-09 10:31:35 +00:00
Desolate c974e29a3c global lists global defined 2018-10-02 15:52:46 -05:00
variableundefined 3b38d937b0 Economy refactors 2018-07-26 19:35:27 +08:00
tigercat2000 2364b0332b Convert a bunch of name/(ckey) to key_name + ISO-8601 timestamps 2018-04-19 15:08:59 -08:00
tigercat2000 a429a612be Fix compile 2018-04-06 15:50:30 -07:00
tigercat2000 27c4fb130b Also readd classic worldtime2text for Alffd 2018-04-06 15:08:36 -07:00
Fox McCloud 1d80bf01c0 Merge remote-tracking branch 'upstream/master' into gc-ss-port
# Conflicts:
#	paradise.dme
2018-04-03 18:21:04 -04:00
Fox McCloud 22dc6860b3 Ports TG's Garbage Subsystem 2018-03-28 20:02:39 -04:00
tigercat2000 affc986684 Fix time shit & Add secrets verb 2018-03-26 20:16:22 -07:00
tigercat2000 bc4fb3d79b Nightshifts & Randomized Station Time
This commit adds the Nightshift lighting mode from /tg/. From 19:00 to
07:00 in station time, the station will go into a reduced-lighting mode,
with dimmed lights across the station.

In conjunction with this, there is a new configuration option to start
the shift time at a random time other than 12:00, so that players are
more likely to experience a night shift (as opposed to having to have a
7 hour round).
2018-03-25 23:01:04 -07:00
tigercat2000 f5940155ca Spacing fixes. 2018-03-20 19:12:55 -07:00
tigercat2000 47cd4cb127 StonedMC
This commit ports the StonedMC from /tg/station, intended to replace the
Process Scheduler from goon. Currently, they exist simultaneously, as
it's very difficult to port our 22 processes to the SMC all at once.
Instead, we can make them work together until everything is converted
over at a later point, and then take the old PS out back and put a
couple of rounds into it's deformed skull.

Primary benefits of this new process controller include: Other people
that can actually maintain it, unlike the PS, pre-world-init
initialization for subsystems, ease of ports from /tg/station13, and
potential performance improvement (to be seen).
2018-03-02 21:12:49 -08:00
Fox McCloud dcf6eab8b2 why github 2018-02-20 00:56:52 -05:00
Fox McCloud 1685ae6042 tweaks 2018-02-20 00:50:08 -05:00
Fox-McCloud 5b8201b794 Adds Dance Machine 2017-12-03 00:07:12 -05:00
Birdtalon ff5216a2a5 adds seconds_to_time() proc 2017-09-27 23:58:34 +01:00
Krausus ba05500497 Makes worldtime2text adjust times properly 2016-07-04 16:12:58 -04:00
Krausus 80ffe80530 Fixes round time being miscounted
It is now based on when the round actually started, rather than when the
world was first loaded.
2016-07-04 15:38:16 -04:00
Tastyfish 83396d41df Removes btime dependency, makes sleep check happen on Every SCHECK 2016-03-01 22:20:19 -05:00
Markolie a09b295890 Make savefile-->SQL note converter functional 2015-09-15 21:19:19 +02:00
Markolie 4a0e02c4a8 Update start of game logging 2015-08-20 19:54:13 +02:00
Markolie e39b60b407 NTSL update 2015-08-13 22:01:00 +02:00
alex-gh 7179b422d9 Fixed broken time definitions 2014-05-20 18:16:56 +02:00
Jeremy LibermanandZomgPonies bd249e3a53 Mutiny Mode
Conflicts:
	code/__HELPERS/time.dm
	code/controllers/hooks-defs.dm
	code/controllers/hooks.dm
	code/game/machinery/computer/card.dm
	code/game/machinery/podmen.dm
	code/modules/admin/player_panel.dm
	code/modules/client/preferences.dm
	code/modules/mob/living/carbon/brain/brain_item.dm
	code/modules/mob/living/carbon/human/death.dm
	code/modules/mob/living/login.dm
	code/modules/mob/mob.dm
	code/modules/security levels/keycard authentication.dm
	code/setup.dm
	icons/mob/mob.dmi
2014-05-15 01:01:54 -04:00
Rob NelsonandZomgPonies 10350239a5 Add some parts of genetics 2.0 2014-04-30 14:14:24 -04:00
Segrain 91ab249681 Helper update. 2013-06-26 16:11:10 +03:00
elly1989@rocketmail.com 7b720a20b6 >Moved most of the helper procs into code/__HELPERS. If you see ANYTHING generic enough to be a helper proc just throw it in there and help purge the copypasta 5ever
>Replaced dd_text2list, dd_text2listcase, tg_text2listcase and tg_text2list with text2list and text2listEx. text2list will return a list of each and every character in the string if you set separator=""
>added return_file_text(filepath) which returns text from a file after doing some checks: does the file exist? is the file empty? It prints helpful error messages to the world.log if it runs into problems
>Replaced dd_file2list(filepath, seperator) with file2list(filepath, seperator). It just calls text2list(return_file_text(filepath), seperator). rather than copypasta
>Replaced time_stamp() so it's not as retarded
>Lots of the world setup stuff uses file2list now, rather than file2text -> sanity -> text2list
>Added error() warning() testing() procs. These print messages to world.log with a prefix. e.g. ## ERROR: msg.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4948 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-24 14:39:36 +00:00