29 Commits

Author SHA1 Message Date
Casper3667 d0da59a72e Fixes journals, quik-pay and credit symbol use (#21844)
Three for one.

- The ability to write in journals held in ones hand was restored.
- The quik-pay quick-input now works properly.
- The credit symbol use was standardised to use 5电 and inserted into a
few places where it used credit instead.
2026-02-11 23:58:45 +00:00
CatsinHD 9a0c6356ee Updates fine values, adds littering (#21236)
Adjusts the values of each fine to values approved by Bear and the CCIA
team.

Adds i120 - Littering which was present on the wiki but not present
in-game.

---------

Signed-off-by: CatsinHD <31459154+WilliamMurdoch@users.noreply.github.com>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
2025-08-28 10:36:52 +00:00
naut 14b3228582 Adjusts credit value to be more consistent (#20913)
- Reworked prices, wages and balances of (almost) everything ingame.
- Added coinage and decimal support to cash, ruthlessly sanitized to
avoid floating-point errors. Reflected in cash-related things like ATMs.
- Tweaked how cash bundles are made and distributed to support
decimalization.
- Adjusted the starting money individuals and departments receive in
their accounts.
- Adjusted the funding Tajara, Unathi, Diona, Vaurca, and IPCs receive
in their accounts. Should earn more on average than they used to.

Credit values are now roughly 1/10th what they were before, across the
board.

Coins were added too! These have names:
- Unie: 0.01 credits
- Quin: 0.05 credits
- Dece: 0.10 credits
- Quarter: 0.25 credits

These can be seen cameo'd in the screenshots below.

Values, wages, etc, are based on the wiki page
https://wiki.aurorastation.org/index.php?title=Guide_to_Wages_and_Pay .

Values are not anchored to any singular real-world currency.

Example price differences:

| Example Item | Old Price | New Price |
| --- | --- | --- |
| Comet Cola | 15.00 | 1.50 |
| Cup Ramen | 20.00 | 2.00 |
| Jyalara | 38.00 | 3.00 |
| Trans-Stellar Cigarettes | 76.00 | 9.00 |
| Zo'ra Soda | 29.00 | 2.50 |
| Gumball | 5.00 | 0.25 |
| 50x plasteel sheets | 700.00 | 120.00 |
| 5x meat (cargo) | 160.00 | 55.00 |
| 50x phoron crystals (cargo) | 2200.00 | 400.00 |

Wages and account balances have also been tweaked:
| Type | Old Amount | New Amount |
| --- | --- | --- |
| Ship Account | 75,000.00 | 35,000.00 |
| Departmental Accounts | 10,000.00 | 15,000.00 |
| Personal Account (avg) | 200.00 - 20,000.00 | 20.00 - 2,000.00 |

Might break the economy; prices will likely need some adjusting
depending on gameplay constraints. Can be adjusted in TMs.
A little testing never hurt anyone.


![image](https://github.com/user-attachments/assets/006e78bf-bfe6-4003-a88d-7b26d6cf2e80)

![image](https://github.com/user-attachments/assets/ac365c3d-bd55-4de5-bd9f-95c7c629462a)

---------

Signed-off-by: naut <55491249+nauticall@users.noreply.github.com>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
2025-07-28 18:11:58 +00:00
SleepyGemmy 3d9f0dac0a Updates Regulations i213 and i310 (#20876)
this PR updates regulations i213 and i310 to have the new descriptions
and removes 2 regulations that are no longer wanted.

approved by CatsinHD.
2025-06-25 21:10:04 +00:00
SleepyGemmy c62fe29575 Updates Regulations i105 and i109 (#20873)
this PR updates regulations i105 to have the correct title and i105 and
i109 to have the new descriptions.

approved by CatsinHD.
2025-06-23 16:27:09 +00:00
Fluffy 25dc248979 Updated statpanel and added client pings (#18337)
* SSatlas.current_map

* hardsuit spell tab appears to clear correctly

* sdfsa

* from the moment i understood the weakness of my flesh, it disgusted me

* sdf
2024-02-08 12:29:42 +00:00
Matt Atlas cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00
Matt Atlas d7cde83694 Records program fixes and restyling. (#17907)
* Records program fixes and restyling.

* Pour ça j'm'étais perdue

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-11 19:55:19 +00:00
Fluffy c25c8b6a37 Last editorconfig fixup (#17782)
* one

* two

* three

* fsdsdf
2023-11-20 18:22:42 +00:00
Fluffy b183188689 Better logging (#16164)
* Initial

* Cleared duplicates

* More work, get rid of log_error

* more

* log_debug() to macro LOG_DEBUG

* More work

* More

* Guh

* Maybe better?

* More work

* gah

* Dear lord

* *inserts swears here*

* gdi

* More work

* More

* dear lord

* fsdfsdafs

* rsdaf

* sadfasf

* sdafsad

* fgsd

* small fuckup fix

* jfsd

* sdafasf

* gdi

* sdfa

* sfdafgds

* sdafasdvf

* sdfasdfg

* sdfsga

* asdf

* dsfasfsagf

* ihibhbjh

* fsadf

* adfas

* sdafsad

* sdfasd

* fsda

* vhb

* asf

* for arrow

* removed source file-line logging, added header for tgui
2023-08-05 21:53:11 +00:00
CampinKiller24 1991d19144 Station to Ship (#16461)
* Alert level change

Changes references from station to ship

* Revert "Alert level change"

This reverts commit f198380c4b.

* Revert "Revert "Alert level change""

This reverts commit efee31daf9.

* actual change

actually fixes it in config because I'm an idiot

* reg fix

changes references from station to ship in regs

* changelog
2023-06-17 20:28:30 +00:00
Wildkins c369124fe9 Increase error logging to diagnose server conking (#15662)
* Increase error logging to diagnose server conking

* more logging and db retry

* whoops

* rename error() to log_error() to better reflect what it does
Move a bunch of world.log messages to log_error

* Fix compile error

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-03-13 21:51:39 +00:00
Wildkins 619d88e613 Replace Aurora with Horizon (dynamically), NT -> SCC (#13940) 2022-05-17 14:19:53 +02:00
Afya212 cc6a35847c Sec cell timer (#13787) 2022-05-08 15:32:59 +02:00
mikomyazaki db7eb023bb ID cards now store a weakref to their mob instead of a hard ref. (#13271) 2022-02-25 18:33:16 +01:00
Wildkins a07700f8a6 Fix runtime errors while running without a connected database (#11473) 2021-03-19 22:08:00 +01:00
Aboshedab 337a39a88e Updates security processing console (#10582) 2020-11-19 14:44:46 +01:00
Erki f1c0c1d20d Removes fines for medium crimes (#8732)
* no more money for life

* log da change
2020-04-27 22:38:58 +02:00
Werner af16a489a6 Removes Weapons (#7415)
* Adds icon and hitsound where needed.

* Moves alt_attack to /obj/item and deletes weapons.dm

* Replaced /obj/item/weapon with /obj/item

* Fixes merge issues.

* Fix merge issues.
2019-11-16 18:36:13 +01:00
Karolis 8b785b3815 New record consoles and removal of old datacore, adds SSrecords (#4878)
This PR is depending on #4868 for it's ui framework. This PR mostly makes new SSrecords subsystem responsible for storing records. This should replace old datacore.

Make new SSrecords.
Make things use SSrecords and whole code compile
Made VueUi button <vui-button> to push parameters as JSON, preserving client side data stricture.

    Add new records console and admin record management.

I am mostly looking for feedback regarding SSrecords and it's data storage mechanism criticism (It's using lists for storage)
2019-07-27 12:24:16 +03:00
Alberyk c1de95f2e4 Updates the infactions in the security processing console (#6624)
This pr updates the infractions in the console in game, bringing them up to date with the wiki.
2019-07-04 17:07:18 +03:00
Werner cfd1900ee4 Security Fines (#4634)
Allows security to fine criminals with the sentencing console
Prints a human readable copy of the charges and the applied sentence
2018-04-29 20:34:49 +03:00
Edward Lemon 2585982b67 Fixes name issue for sentencing machine (#4501)
Fixes #4492
2018-03-31 22:42:38 +03:00
Synnono ba51e38391 Corrected charge title to reflect name on the wiki (#4470)
Changed "Severe Use of Excessive Force" to "Use of Excessive Force" in sentencing consoles to reflect the charge on the wiki.
2018-03-24 18:14:51 +02:00
Werner 1308048183 Adds the new regulation (#4458) 2018-03-22 06:57:25 +02:00
Werner 3142883948 Adds a new reg - i220 (#3816)
i220 - Fraud

To steal or use deliberate deception in order to obtain credits from someone. Applies to amounts greater than 500 credits.

For lesser amounts, see i102 - Petty Theft.
For items of equivalent value, see i215 - Grand Theft.

First offense: 15 minutes and/or demotion
Repeat: 30 minutes, immediate suspension
2017-11-05 17:43:13 +02:00
Alberyk 092a391a5f Fix More Baylore References (#3393)
Replaced some incorrect references to old baystation lorel, such as construct drones being from the sol central, tajaran slaves and thalers.
2017-09-08 10:31:16 -05:00
skull132 a3ec0cf45d Better SQL prepared statements (#2474)
The system used to be of complexity O(n^2). Essentially two for loops running per every argument. Which ended up being surprisingly slow (there were instances where I saw the argument parser as using quite a lot of CPU time).

This replaces it with a more linear algorithm. It's somewhere near O(n) where n is the length of the unparsed query. Which is more stable and faaaster. This comes with two changes, however:

Parameters inside the query now have to be delimited from both sides with : (colons). The alternative to this would be to use something like $n or just assume that space marks the end of a marker. Only the former is workable, the latter would break a few queries already.
Arguments in the argument array no longer have to be prefixed by : (colons). So, while in the query you would write :thing:, you'd initialize the array of args as: list("thing" = somevar). It could be made to work without it, but eh, I think this is fine.
Argument validation is slightly weaker. What I mean by this is that with the old system, unused keys would result in an error. This is no longer a thing. Missing keys will still result in an error, however.
One more improvement: double delimiting removes an edge case where if key A partially covers key B, depending on the order, key A would mangle key B.
Updated and tested all queries that I could find. So this should be good.
2017-05-29 21:17:41 +03:00
LordFowl 51bd200d7c Porting Apollo Infractions Computer (#1033)
Ports Apollo's infraction's system, creating a permanent criminal record for every character. Every minor or medium infraction accrued over the course of a round is added to the character's permanent security record which is available at vanilla records councils. Antagonists are automatically exempt from this process, and players can exercise control over what charges they consider canon or not.

Brigging a person is now dependent on the criminal sentencing computer, which reads a person's ID and applies a brig timer automatically for the charges selected. Personnel without ID's will have to be brigged manually.
2016-12-23 01:00:04 +02:00