Commit Graph

3207 Commits

Author SHA1 Message Date
carnie fea2fc3fef Fixes for admin-spawned dnainjectors: repeat_string has been simplified (it wasn't making NULLED_SE and NULLED_UI to the correct size).
Fix for Overpowered mutations (HULK and TELE) not manifesting. A typo was the cause.
Admin-spawnable injectors always succeed. This code already existed (I believe this is how they used to function), but it did not work as the argument was not passed correctly. This also removed snowflake code for the darkbundle telemut injector.

Thanks to Giacom, wouldn't have found these without him.
2013-04-27 06:40:17 +01:00
carnie 7ca4c39ec0 Added spacing between blocks in the DNA-modifier interface. 2013-04-25 05:09:43 +01:00
carnie 043028db83 Resolves #283
DNA modification uses normally distributed random numbers. Radiation strength dictates the standard deviation of the change in the hex character which is hit (higher output means greater chance for a large change) . Similarly, radiation duration dictates how likely we are to hit the hex-character we clicked on (longer duration means more likely to hit). Irradiation is strength*duration. All balancing is done via multiplier defines so you can rebalance it easily.

DNA blocks and structuring all use defines. Making modification/expansion easier. I'll likely expand this into a datum-based system to allow more interesting features, reduce code further and allow admins to interact with the way dna strings behave.

DNA strings can be spliced together using merge_text().
 e.g. string 1: "Hello World"
 string 2: "Seeya______"
 result: "Seeya World"
 This isn't used except for admin-spawnable SE injectors at the moment.

r_hair, g_hair, b_hair, r_facial, g_facial, b_facial, r_eyes, g_eyes, b_eyes were removed and made into 3 short hex-colors.

Skin tones now support colours other than shades of brown. I've had to restrict it heavily until other stuff is done. Skin tones include Albino Caucasian, Oriental, Mediterranean, etc.

Data disks and DNA injectors were reworked to use associative lists so transferring data is just a matter of doing list.Copy()

var/dna is now defined at /mob/living/carbon level. Only monkeys and humans may have dna currently. Support is there for all carbon-based lifeforms to have dna.

DNA modifier console has almost all controls on one screen.

UIs and UEs can be injected separately (appearance and name, respectively)

dna helper procs like ready_dna() and such were changed to make them more versatile. There is now a hardset_dna() proc as an alternative to ready_dna which can initialize dna with properties passed into it or update an existing dna string (useful for cloning and antag spawning)

Every block of SEs are in randomised positions.

Disabled automatic logging of world.log, as it produced undesirable behaviour.

Mr Muggles and God Emperor of Mankind disks removed.

Floor() removed. (it was completely uneccesary, that is what round() is).

Fixed spelling mistakes in modularchangling.dm (thanks tenebrosity)

Tanning removed from beaches (again)

Experimental: monkeys and humans do not have dna until first attempt to read dna (using check_dna_integrity(mob))
This is mainly due to the way everything is hardcoded into New().

Changelog.html updated
Signed-off-by: carnie <elly1989@rocketmail.com>
2013-04-24 09:37:30 +01:00
Pete Goodfellow 62b848c6ce Removes equip_e - Fixes #423
This updates everything that used equip_e, particularly the strip panel, but also DNA injectors and CPR.

Removed unused mob vars:
 var/obj/effect/organstructure/organStructure
 var/other
 var/proc_holder_list[]

Removed unused alien suit and head slots.
 Removed var/obj/item/weapon/card/id/wear_id from monkeys, and updated ed209s to not use :

Renamed HUMAN_STRIP_DELAY to STRIP_DELAY.

Muddled Topics() around so that mobs are now a bit more OO. Also updated quite a few misc inventory procs to various degrees.

Updated monkey and aliens huds a little bit.

Random movement when confused now happens half the time.

Fixed monkey breathmask onmobs.

Added a .unconscious text style, for that nice bold blue text you get when you're unconscious. Only CPR uses it at the moment.

This has been tested fairly extensively, and everything seems to work fine.

-Merged commits ~carnie
Signed-off-by: carnie <elly1989@rocketmail.com>
2013-04-24 04:07:39 +01:00
Cheridan f48a22a6c8 -changes the deductcharge proc again to get rid of my silly hack. 2013-04-22 15:32:00 -05:00
Cheridan d82bb638e4 -Fixes me not using the appropriate setter procs for cell charge. 2013-04-22 14:32:46 -05:00
Cheridan 06d8e75adf -reverting the 3 lines that got messed up somehow when i was merging files. 2013-04-22 11:07:59 -05:00
Cheridan d7406925a8 -Actually fixes the issues with inhands not updating. Thanks to Aranclanos. 2013-04-22 01:03:42 -05:00
Cheridan 189611e6d6 -Fixes the stuff Giacom pointed out.
-Updated some other items to use the hitsound var while I was at it.
2013-04-21 23:26:59 -05:00
Cheridan 1317ea6462 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-21 18:58:26 -05:00
Giacomand 0fe1b6c1b6 Merge pull request #403 from Petethegoat/issuefixes
Issue fixes
2013-04-20 06:16:38 -07:00
Ikarrus 571a7ec6e0 Merge pull request #396 from Petethegoat/vaultairlock
Adds the deconstructed vault airlock.
2013-04-20 05:51:27 -07:00
Giacomand df245eec30 Merge pull request #352 from Aranclanos/ShuttleCall
Automatic shuttle calls 2 the electric boogaloo
2013-04-20 05:34:40 -07:00
Cael Aislinn 3b634e4e9b Merge pull request #398 from Petethegoat/welderupdoot
Standardised welders in tools.dm. Includes text styling and names.
2013-04-18 16:55:47 -07:00
Cael Aislinn 340f90670d Merge pull request #397 from Nodrak/feedbackfix
Feedbackfix
2013-04-18 16:34:47 -07:00
Pete Goodfellow 4b044cf4ca Removed the unused mechtoys list from supplyshuttle.dm 2013-04-18 20:00:07 +01:00
Pete Goodfellow a691679254 Fixed poster duplication when you cut it from the wall. 2013-04-18 19:57:54 +01:00
Pete Goodfellow 75f7a529d1 Removes /obj/item/weapon/wire (it did nothing, it's not cables) 2013-04-18 19:57:24 +01:00
Pete Goodfellow 05897ca80f Standardised welders in tools.dm. Includes text styling and names. Removes redundant procs and code. Adds mob icon updates where appropriate.
Also includes a change to cable cuff removal so that the cablecuff itself is garbage collected.
2013-04-17 23:52:15 +01:00
Nodrak 53c28eb47b Changes the text sent to the feedback server to not use spaces as they can't be parsed properly. 2013-04-17 18:45:31 -04:00
Pete Goodfellow 0a58830354 Adds the deconstructed vault airlock. Rearranges the icon_states in vault.dmi.
Removes a duplicate sandstone door assembly.
2013-04-17 19:45:36 +01:00
Pete Goodfellow 0e87e913ff Lowercased and fixed a typo for the prisoner management console 2013-04-17 15:10:07 +01:00
Cheridan 8f02d5fee1 Commitin' the stuff that didn't merge 2013-04-16 23:13:35 -05:00
Cheridan 6731fe8b83 Merge branch 'master' of https://github.com/tgstation/-tg-station
Conflicts:
	code/game/objects/items/weapons/handcuffs.dm
	code/game/objects/structures/crates_lockers/closets/secure/security.dm
	icons/mob/items_lefthand.dmi
	icons/mob/items_righthand.dmi
2013-04-16 23:07:35 -05:00
Cheridan c429e5883e MAKESHIFT WEAPONS UPDATE
-Removes stungloves and all related code.
-Makeshift stun batons can be made in their stead, along with spears. Spears can be thrown or used one or two-handed.
-Major stun baton revamp. They now accept batteries, which can be removed and replaced.
-Fixes the bug where you could use TK to make a dualsaber from a single saber.
2013-04-16 22:59:01 -05:00
Giacomand 657ac139d2 Merge pull request #351 from Petethegoat/cuffsound
Cuffs now play the sound when they're first used, not when they're finished
2013-04-16 15:36:17 -07:00
Pete Goodfellow d832bd268a Merge pull request #331 from Giacomand/silentBorgAI
Non-Vocal AIs and Cyborgs configuration option.
2013-04-16 15:33:13 -07:00
Pete Goodfellow ace35b1ce5 Merge pull request #345 from Malkevin/master
Insulation changes: Base file
2013-04-16 14:29:25 -07:00
Pete Goodfellow 86635db898 Merge pull request #343 from Cheridan/TeleporterFun
Teleporter MalFUNctions!
2013-04-16 13:59:20 -07:00
Ikarrus 4d0c134491 Added clipboards to Detective and Warden lockers. 2013-04-14 16:37:23 -06:00
Pete Goodfellow d4cdaa2f00 Merge branch 'master' of github.com:tgstation/-tg-station 2013-04-14 19:03:37 +01:00
Pete Goodfellow 6f43f81c05 Updating razors to reduce code duplication. Adjusts text styling. 2013-04-14 19:02:52 +01:00
Pete Goodfellow 67faba3242 Merge branch 'razors' of git://github.com/Ikarrus/-tg-station into ikkyrazors 2013-04-14 18:25:41 +01:00
Pete Goodfellow abb0f77c5d Merge pull request #353 from Nodrak/freeformlogfix
Fixes freeform module logging
2013-04-13 07:09:29 -07:00
Nodrak d7d7c070de Fixes freeform module logging from logging the player who input the law as both the uploader and the uploadee. 2013-04-13 10:06:28 -04:00
Aranclanos b5b3dc2dcd Nghhh 2013-04-13 02:24:44 -03:00
Aranclanos 8a68a70335 The automatic shuttle call will now be triggered if there are no communications console on the station z level or an active AI. The shuttle will not have the standard 10 minutes to arrive, instead, it will take 25 minutes, so they have 20 minutes to recall.
They will use the new proc autoshuttlecall() in the emergency_shuttle controller.

Instead of taking a loop on world, there's a new list, shuttle_caller_list, it includes all communication consoles and AIs.

Fixed some weird things regarding recalling the shuttle if the arriving time of the shuttle was bigger than 10 minutes.
2013-04-13 02:17:41 -03:00
Pete Goodfellow 6c34a59aca Cuffs now play the sound when they're first used, not when they're finished. 2013-04-13 01:14:10 +01:00
Giacomand bf1d0816e2 * Updating changelog.
* Updated to latest version.
2013-04-12 23:42:45 +01:00
Cheridan dbf3d34380 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-11 15:04:15 -05:00
Malkevin 79a9c22ab6 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-11 16:35:12 +01:00
Giacomand 0d80bf1790 Merge pull request #337 from Petethegoat/antaglogging
Antag logging
2013-04-11 08:03:28 -07:00
Giacomand 0dd70dee4e Merge pull request #334 from Petethegoat/podcomputer
Pod computer fixes and standardisation
2013-04-11 07:59:10 -07:00
Ikarrus c7d99edf60 -Moved headgear and mask check up and used get_location_accessible()
-Updated skinhead sprite to be more transparent
-Updated razor sprites
-Updated Changelog
2013-04-10 21:00:15 -06:00
Ikarrus 5a49fc33b3 Merge branch 'master' of https://github.com/tgstation/-tg-station into razors 2013-04-10 20:07:40 -06:00
Cheridan c4d8dc1d04 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-10 19:11:01 -05:00
Pete Goodfellow 4a3c22ac70 Merge pull request #336 from Cheridan/master
Pepper Spray Update!
2013-04-10 15:20:34 -07:00
Cheridan f016d3a656 TELEPORTER UPDATE!
-Adds monstrous housefly mutation.
-Teleporter malfunctions have been changed to something more !FUN! than random spacing. Instead, you get irradiated and horribly mutated. To prevent this, one should Test Fire to ensure the teleporter is properly calibrated. Recalibrations will be necessary with frequent teleporter use.
2013-04-10 17:10:09 -05:00
Malkevin eb5a282d90 Thermal Protection Overhaul.
Shortened the defines for cold & protection because I thought they were overly long
Updated all references to defines to match the new names
Added missing defines for protection ratings that were missing (firesuit cold and spacesuit heat)
Added cold protection to firesuits to restore they ghetto space suit functionality
Restored the CE RIG's firesuit equivalent protection
Added heat protection and cold to protection to items that only had one aspect
Fixed incorrect thermal coverage for armors that covered more than the groin and torso

Bombs suits are pretty useless atm so I made them into ghetto riot gear; my line of thinking being that its a big heavy suit with lots of padding, its going to be half-decent against people trying to beat you.
2013-04-10 21:06:02 +01:00
Ikarrus c19e7044d4 -Added electric razors to the prison wing, captain's office, and locker room
-Updated changelog
2013-04-09 22:45:46 -06:00