Commit Graph

1642 Commits

Author SHA1 Message Date
Dennok cc26d3316c Fix multi surgery. Add operating computer surgery target. (#45900)
* fix multi surgery

* drapes fix

* Operating computer target show
2019-08-14 16:25:17 -04:00
Sanator 4bd547b047 Changes the DNA console icons to be less awful (#45869)
* Changes the DNA console icons to be less awful

Made some better placeholders

* fixed a blinking pixel
2019-08-13 16:53:57 -04:00
skoglol 69227e45f6 Selected Access in HoP Console is Now Green (From Red) For Viewability (#45848)
* Removes red/blue ID console button combo.

* Different color.
2019-08-12 16:26:46 -04:00
YPOQ f4a76f9f48 Fixes being unable to clone multiple empty clones simultaneously (#45768)
cl
fix: Fixed being unable to clone multiple empty clones simultaneously
/cl

My bad, should have caught this in my last PR.

Fixes #45721
2019-08-09 11:29:10 +12:00
penterwast c58f7e4806 Log nuke request messages (#45778)
About The Pull Request

Adds logging for CentComm nuke code requests.
Why It's Good For The Game

The actual text of nuke code request messages is not currently logged anywhere. This PR removes ambiguity/guesswork when investigating them.
Changelog

cl Penterwast
admin: Added logging for CentComm nuke request messages.
/cl
2019-08-09 11:27:25 +12:00
nemvar 4d5fb1a578 Adds a GPS component. (#45660)
* Adds a GPS component. Megafauna no longer needs gps implants.

* Removes commented out code.

* Removes the last internal radio

* I was already wondering why the diff was so small
2019-08-05 19:13:19 -07:00
Rob Bailey 2c720c6408 No ID insertion for everything except the hop console (fixes the ORM) (#45693)
About The Pull Request

machines and consoles that previously required an inserted ID now check access on worn and inhand ids. They otherwise function identically.
Affected things:
ORM: click claim to claim cash to connected ID (also fixes it)
Mining vendor: uses ID on person or in hand.
medical console: checks worn ID
security records console: checks worn ID
gulag consoles: claim points to worn ID, checks access and point requirements from worn ID

Also some backend refactoring to prisoner management and gulag teleporter consoles

hop console will be next to strip out the shitcode entirely but this at least gets things functional in the mean time, but fully tested this time. It's very late here and I need to sleep. Due to the nature of it it's more elaborate of a rework.
Changelog

cl
tweak: Medical and Security consoles now check access on worn or inhand ID instead of requiring an inserted ID
tweak: mining vendor now reads from ID in hand or on person instead of requiring an inserted ID
fix: ORM is functional again (for real this time)
tweak: ORM claim points button transfers points to worn/inhand ID instead of to an inserted ID, no longer accepts insertions
tweak: Same for gulag consoles
/cl
2019-08-04 22:53:55 +12:00
kingofkosmos ccc913480d id's can be inserted to all consoles with attackby and removed with alt-click + extra console sound effects added (#45627) 2019-07-31 18:39:19 -07:00
Toast 664e002bf1 Joker Upgrade Retuned (#45386) 2019-07-29 02:20:15 -07:00
kingofkosmos f887a0b114 Console alt-clicking tweaks (#45193)
* * reworked consoles so you can:
 * use attackby to insert id
 * use alt-click to eject id
 * examine to see if alt-click is available
 * moved eject_id and insert_id procs to _computer.dm
 * added some sound effects

* * prisoner management console new features: insert id with attackby and eject with altclick

* * prisoner management console can't have multiple prisoner id's inserted

* removed unnecessary src. and changed usr --> user

* made gulag teleporter consistent with attackby, altclick and examine.
simplified attackby on card.dm

* equipment reclaimer station consistent with id attackby, altclick-eject and examine.
point claim console consistent with id attackby, altclick-eject and examine.

* ore redemption machine and mining equipment vendor made consistent with id attackby, altclick-eject and examine.

* * reworked all eject/insert ID copypastacodes into procs in _machinery.dm

* * 0's to FALSE

* hopefully i didnt mess up any more things in the resolve

* everything now uses id_insert-proc and doesn't work.

* compiles but doesn't work

* works
2019-07-28 16:25:36 -07:00
Dennok 213b86ca22 Shuttle-buttons (#45444)
connect_to_shuttle add shuttle id to connected machine id
Buttons from one shuttle dont controls machinery from another by default
2019-07-27 20:19:56 -07:00
Fikou a132ea82ea you can now get an advanced camera console (#45202)
* advanced camera consol

* circuit board

* advanced camera console

* advanced camera
2019-07-20 00:50:41 -07:00
Alek2ander 4e26573f7b Job specific ID cards (#45112)
* Job based IDs attempt one

* This doesn't actually work

* Back to overlays

* The Comment Section

* Cached flat icons
2019-07-13 21:24:35 -07:00
Nick a8197eb3dd Citations (#44853)
* Citations Step 1 - New Datacore Stuff

* Committing before merging with master

* Initial work on PDA messaging

* Adds support for automated PDA messages

This is just a flag that, when set, replaces the standard (Reply) href with a static "automated message" message

* Citations now generate PDA messages

The target of a citation will be notified via PDA message

* Escaping some non-optimal characters in PDA messages

* Creates a public warrant computer

Initial framework. Computer machine and circuit. Adds it to the DME.

* We're gonna flipflop on this for a while

* Removing unneeded functions

This is a read-only terminal, so we don't need to have all this code for managing entries and updating fields

* Whoops

So this is why byond was warning me about unused vars

* Need some help

Pushing this commit because I got this into a state where it doesn't work right

* Adds support to pay fines!

* Map changes. Adds a warrant console to the hallway outside the brig and law office on Box.

* Adds some checks to fine creation

* Aaaaand more work on paying citations

* Paying citations works! The money goes into the defense budget!

* More functionality and usability changes

* Adds warrant consoles to the rest of the maps

* Cleaning up text

* Rewrote warrant computer to be more up to date.

* Fines are capped to 1000 credits

* Requested changes

* Citations can now be paid with holochips and warrant consoles don't require your ID to be inserted.

* Fines can be paid from security record consoles, and more feedback messages

* Citation payments now actually go into the defense budget for real

* Removing even more unused code!

* Removes unused code (emp_act and ID handling)

* More unused code for the unused code gods

* ID card reference is now just fetching attached name.

* remove simple mob typepath kthx for the remove simple mob typepath kthx gods

* one usr, many M
2019-07-03 20:19:05 +02:00
ShizCalev 6e44bd3a93 Merge pull request #44796 from kingofkosmos/addswarningspans
Adds warning-spans
2019-07-02 00:47:43 -04:00
Time-Green a30623cd2a [s] Fixes dna console runtime #44905
closes #44867
cl Time-Green
bug: No more infinite dna injectors
/cl
2019-07-01 23:04:45 +12:00
kingofkosmos 51f77267f4 * revert error spans 2019-07-01 13:28:15 +03:00
zxaber e911747713 Give dead AIs an alert when they are being restored (#44870)
AIs now get an alert and sound effect just like what other mobs get
from a defib (and used to get from cloning). I used the same sound
effect because it's recognizable in that it means being brought back
to life.

Currently AIs don't get notified at all when they get revived, and the
best hope for whoever revives them is that they happen to check their
body to see if anything changed (or if someone calls out over common
and the AI player sees it).
2019-06-30 19:55:39 -07:00
kingofkosmos ec5c82029a * "Is already...", "Can not...", "Not when..." etc. 2019-06-27 06:15:43 +03:00
kingofkosmos 6bbb64e2cf * more warnings 2019-06-25 21:46:21 +03:00
spookydonut c5f7f5b063 Removes shuttle manipulator (#44655)
* Removes shuttle manipulator

* oops

* moves ui to ssshuttle

* fuck it lets just remove it.

* ooops

* Revert "fuck it lets just remove it."

This reverts commit 8a95879f21d3f4aad3d56e33fa90ebc1940c1e27.

* re-remove the old admin proc
2019-06-23 21:24:10 +02:00
XDTM 423f6915d7 Launchpad Revival (#44522) 2019-06-22 15:34:20 +02:00
Shaps 8954265573 Agender fixes (#44597)
Credits to Europaisch for help finding all the records stuff

Fixes a few issues I was not aware of with my initial PR

* Being agender is now a distinct DNA value (fixes agender spessmen
  turning female when having their DNA referenced, like during cloning
  and some rudimentary transformations)
* Neatens up preference code, more in line with previous code, fixes
  an issue with male underwear not surviving preference loading and
  defaulting to female underwear
* Allows agender spessmen to change their facial hair with mirrors
* Change medical, personnel, and security records from sex to gender
  and add "Other" option (they currently display "plural" even for
  agendered species like ethereals)
* The -san honorific now applies to plural gender instead of just
  neuter with the Chinese Cartoons admin secret (highly important)

I have never really played genetics and only tested the DNA code with
cloning and rudimentary transformations while still in a body (which
causes it to reference the old body's DNA, like with cloning). Please
let me know if there's a better way to do this and/or if this is apt
to create issues.
2019-06-19 13:59:39 -07:00
vuonojenmustaturska 8ddc9677c7 examine-code refactor (#44636)
* 1/4 done? maybe?

* more

* stuff

* incremental stuff

* stuff

* stuff & things

* mostly done but not yet

* stuffing

* stuffing 2: electric boogaloo

* Git Commit and the Kingdom of the Crystal Skull

* make it actually compile

* found more stuff

* fixes

* fix AI laws appearing out of order

* fix windows

* should be the remaining stuff

* this time for real

* i guess it should compile too

* fix sechuds
2019-06-19 22:07:57 +02:00
FrankFo 645156ff60 De-linkifies names in deadchat_broadcast(), makes deadsay css class default (#44600)
* De-linkifies names in deadchat_broadcast(), makes deadsay css class default too

* Makes the source argument come after message, since it is optional

* Removes excess </span>
2019-06-18 22:49:02 +02:00
XDTM 3f28227f6c Makes surgery more stealthy (#44483)
About The Pull Request

Part of #44440

Surgery now gives detailed description to the surgeon and anyone within one tile of distance, and more vague or ambiguous descriptions to the patient and anyone further away. This can lead to a surgeon being able to perform a brainwashing in place of a brain surgery with nobody being the wiser, or implanting a different organ than the one agreed on, and so on.
Changelog

cl
add: Surgery steps are now shown in detail only to the surgeon and anyone standing adjacent to them; the patient and people watching from further away get a more vague/ambiguous description.
/cl
2019-06-18 11:44:58 +12:00
XDTM a4fab52d37 Adds "empty" cloning (#44442)
About The Pull Request

Adds Empty Cloning functionality to cloning consoles. Selecting a record and Empty Cloning it creates a clone of the record without pulling its mind into it, and therefore also bypassing the usual restrictions.
It does not put random minds in it like the experimental cloner; it simply creates a mindless replica.

UPDATE: Cloners can now also do BODY-ONLY scans, which are clearly marked as such in the records database. These can only be used for empty cloning, but do not require the body to have a functioning mind for the scan. They can be deleted without access if they're cluttering the list, and will not overwrite an existing full record if one exists.

Potential future additions to this PR:

    Making the cloning scanner able to scan soulless bodies, for Empty Cloning only. DONE
    Making it possible to clone from a DNA disk.
    Warning signs in case of mistakes.

Why It's Good For The Game

Monkey-cloning was always an option, but kind of unintuitive and rather complicated when you consider you have literal cloning technology one room over.
Can be used to create clone armies, or to pre-prepare a replacement body for a crewmember (and potentially add augments, surgical buffs, and so on) to swap them into at a later time.
Changelog

cl
add: Cloners now have the option to "Empty Clone" a record, creating a mindless replica of that person.
add: To aid the above function, cloners can now do Body-Only scans, which can be used to create empty clones but not real clones, but bypass the sentience restrictions on scans. They can also be deleted without requiring access.
/cl
2019-06-17 13:49:23 +12:00
vuonojenmustaturska 0b977ac442 Clean up id/bounty console HTML generation (#44365)
* Update bounty_console.dm

* also clean up id console a little bit
2019-06-11 13:46:27 +02:00
Emmett Gaines 45ec62931d Finally removes the signal redirect component (#44251) 2019-06-09 17:25:50 -04:00
ShizCalev 30fd6ddeac Merge pull request #44280 from kingofkosmos/spanendingfixes
Adds missing </span>'s.
2019-06-04 05:50:50 -04:00
Dennok da575899fd Add teleport station calibration animation (#44263) 2019-06-03 13:30:22 -07:00
Rockdtben 2d90bf1ca8 Custom HeaderText on Wanted/Missing Posters (#44260)
* Allows custom headertext

* Allow security console to use custom header text.

* Fix 'A' and max_length on input

* Update wanted_poster.dm
2019-06-03 21:15:28 +02:00
kingofkosmos 1bf60bbe06 Adds missing </span>'s. 2019-06-02 21:29:14 +03:00
oranges bb19793111 Merge pull request #44207 from kriskog/comms
Removes process() from comms console, no longer steals focus
2019-06-02 09:47:01 +12:00
Rockdtben 2b8be17ff9 Remove unused variables. 2019-05-31 10:54:06 -05:00
Rockdtben 705152695a Add Missing Persons Poster for security to use. 2019-05-31 10:43:49 -05:00
skoglol 3eea44f3f1 and the double open from long ago. 2019-05-30 14:35:40 +02:00
skoglol 85eef09ba6 Removes process() from comms console, no longer steals focus 2019-05-30 14:28:06 +02:00
Rockdtben 91eec09fad Fix Printed Papers bad icon state. (#44161) 2019-05-27 23:48:31 -04:00
skoglol 5316926510 Fixes some missing adjancency checks. (#44020) 2019-05-21 11:43:35 +02:00
vuonojenmustaturska 2290d63846 Remove nuclear operative TC consoles in favor of them just getting the TC pre-distributed (#43930)
About The Pull Request

With this PR, the nukies get their TC pre-distributed instead of having to do a complicated song-and-dance routine where people who sort-of know what they're trying try to convince people who don't to put their uplinks into the machines at roughly the same time to press some buttons.
Why It's Good For The Game

The TC donation/distribution cycle is completely unneeded, realistically everyone is going to distribute their TC.
2019-05-17 08:59:01 +12:00
AnturK 68bb4fefa5 Fixes holocall static remaining. (#43888)
* Fixes holocall static remaining.

* codegolf
2019-05-12 10:51:41 +12:00
vuonojenmustaturska fb45b7a017 Turns trait accessors into defines, fixes some bugs (#43820)
It's free performance.
2019-05-06 19:44:05 -04:00
AnturK 78170616a9 Fixes autocloner runtime. (#43798) 2019-05-03 13:11:11 -04:00
skoglol e4f317f137 Restricts robotics control console to current z-level. (#43711) 2019-04-29 10:20:31 -04:00
Tetr4 d3ad023709 Fixes AI integrity restorer dropping AI core on decon (#43644)
* Fixes AI integrity restorer dropping AI core on decon

* Update code/game/machinery/computer/aifixer.dm

Co-Authored-By: TetraK1 <13362609+TetraK1@users.noreply.github.com>

* Replaces Destroy() with QDEL_NULL()
2019-04-22 12:13:05 -04:00
Time-Green 35738909fc Fixes some inconsistencies in genetics (#43583)
* Adds chromosome interactions with more mutations

* Makes upgrades affect printing cooldown

* Fixes a runtime with monkey dna and human eyes
2019-04-16 21:32:30 +12:00
Tad Hardesty 09949fe611 Fix welfare being given to everybody else with the same job (#43490)
* goddamn NEETs ruining my economy, fixes #42387

* Fix remaining broken call to add_neetbux
2019-04-08 10:29:51 +02:00
Brett Williams 4a3f61f42a Yum yum I love photos (#43440) 2019-04-02 01:32:59 -04:00
Vile Beggar a1f5a2d60a Fixes the toxins launch telescreen on Box (#43413) 2019-03-31 10:49:45 +02:00