Commit Graph

2664 Commits

Author SHA1 Message Date
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
carnie
4d2c791a33 Modification to Pete's commit.
var/list/type/subtype/L -> var/list/L
2013-04-24 04:07:41 +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
Giacomand
a3a615b1c0 Merge pull request #428 from Petethegoat/misc_changes
Sprite update and minor fix
2013-04-23 11:45:03 -07:00
Pete Goodfellow
ed0f46eaec Merge pull request #435 from errorage/master
Library table update.
2013-04-23 09:47:16 -07:00
Cheridan
1317ea6462 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-21 18:58:26 -05:00
errorage
8a8a516773 - Updates library table definition
- Adds a ckey and datetime column to the library table so we can finally see who is uploading all the exploitive books.
2013-04-21 19:35:42 +02:00
Pete Goodfellow
e0de2d9bd2 Fixed the legcuff update icon. It was adding both the lying and standing overlay whenever it was called. 2013-04-21 04:28:21 +01:00
Giacomand
b9451f7153 Merge pull request #408 from p440/master
onetankbomb fixes
2013-04-20 06:21:07 -07:00
Giacomand
0fe1b6c1b6 Merge pull request #403 from Petethegoat/issuefixes
Issue fixes
2013-04-20 06:16:38 -07:00
Giacomand
509e8db043 Merge pull request #395 from Malkevin/CEFireResist
CE with firesuit protection enabled sans other changes
2013-04-20 06:12:03 -07:00
Giacomand
6669148bb7 Merge pull request #399 from AndroidSFV/master
'State Laws' verb for Cyborgs
2013-04-20 06:10:49 -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
AndroidSFV
2cb0f54312 Recommended changes to silicon State Laws 2013-04-19 12:09:39 -05:00
AndroidSFV
7afcc7e8b9 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-19 11:29:44 -05:00
Intigracy
ddd279c11d Edited the admin names in deadsay.dm to match with current admins, currently it's reeeaaallly out of date.
Special thanks to everyone who helped come up with the names!
2013-04-18 22:03:03 -07:00
p440
8411e041b3 onetankbombs not passing stuff to bombassemblys
infra sensors not checking locs high enough up the hierarchy for onetankbombs (and potential future things)
2013-04-18 21:15:56 -07:00
Cael Aislinn
1639756136 Merge pull request #386 from Incoming5643/buzz
Gives fly people a buzz lisp (lengthens "z"s)
2013-04-18 16:49:18 -07:00
Cael Aislinn
968bafbd32 Merge pull request #393 from Petethegoat/nullscreenrun
Adds client checks to update_inv procs, before trying to reference client.screen.
2013-04-18 16:47:58 -07:00
Cael Aislinn
976f3faebe Merge pull request #394 from Petethegoat/typofixes2
Fixed a typo in human_defense.dm and updated an outdated message in cyborg examine.dm.
2013-04-18 16:40:18 -07:00
Pete Goodfellow
6e19734145 Cable coils now update mob inhands correctly when used up. Changed cable coil items to use the existing update_icon() proc, instead of their own updateicon(). 2013-04-18 19:59:50 +01:00
Pete Goodfellow
976e1f0136 Fixed 'break all lights' not breaking all (or any) lights 2013-04-18 19:58:44 +01:00
AndroidSFV
3b3bc4c9bc Adds the 'State Laws' verb to Cyborgs (it's the code for AI's State Laws verb just copypasted) 2013-04-17 18:54:05 -05: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
9576854d52 Adds client checks for monkey inv_updates. 2013-04-17 19:10:05 +01:00
Pete Goodfellow
6d16d50cd8 "The ironclad rule - no exceptions - is that if you can replace the word with "it is" or "it has," use it's. Otherwise, it's always its." Grammar fix for borg examine. 2013-04-17 19:05:40 +01:00
Malkevin
15c3748ccb CE with firesuit protection enabled sans other changes 2013-04-17 18:29:40 +01:00
Pete Goodfellow
a81dcc6997 Fixed a typo in human_defense.dm and updated an outdated message in cyborg examine.dm. 2013-04-17 18:26:08 +01:00
Pete Goodfellow
ca4890aed5 Adds client checks to update_inv procs, before trying to reference client.screen. 2013-04-17 15:51:24 +01: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
Incoming5643
15c281267e Gives fly people a buzz lisp (lenghtens "z"s)
Fixes a spelling error in gender_reassignment.dm I missed when I wrote it
2013-04-16 21:52:40 -04:00
Nodrak
2998dc4a55 Revert "Merge branch 'master' of https://github.com/tgstation/-tg-station"
This reverts commit f3bd3680cc, reversing
changes made to 67d5641ad6.
2013-04-16 20:06:19 -04:00
Nodrak
f3bd3680cc Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-16 19:16:06 -04:00
Nodrak
668a81d10c Changes the name of some of the slime colours so that they can be parsed by erro's stat tracking stuff. 2013-04-16 19:01:53 -04: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
Malkevin
0d19542b0c Merge branch 'master' of https://github.com/tgstation/-tg-station into bombsuitarmor
Conflicts:
	code/modules/clothing/suits/utility.dm
2013-04-16 23:07:58 +01: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
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
Ikarrus
5e9f554a02 Added a razor module to service borgs 2013-04-12 23:08:42 -06:00
Giacomand
bf1d0816e2 * Updating changelog.
* Updated to latest version.
2013-04-12 23:42:45 +01:00
Giacomand
0529b60b41 * Made miming use IsVocal()
* Minor: Defined "viruses" as a list.
2013-04-12 23:38:48 +01:00
Malkevin
892320471d Insulation Change: Bomb Suit armor
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.

Won't really have much impact on the game, theres only three on the map and one of them is in the armory
2013-04-12 00:20:06 +01:00
Malkevin
58a344504c Insulation changes: Base file
-Shortened temp protection defines
-Added missing temp protection defines, firesuit protection currently set to same as armor
-Added two way insulation to items missing it (spacesuits, firesuits)
-Fixed temperature protection coverage of several armor items to match their coverage

-Commented out CE Rig firesuit protection
-Reverted ghetto riot armor bomb suits
2013-04-11 17:32:06 +01:00
Malkevin
79a9c22ab6 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-04-11 16:35:12 +01: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
Cheridan
782403ddbd Pepper Spray Update!!
-Capsaicin can be turned into Condensed Capsaicin via chemistry.
-Alters the effect of pepper spray slightly. Changes it from a paralyze(KO) to weaken(stun like batons, etc), and adds slight lingering confuse effect.
-Adds teargas grenades(pepper spray smoke chem grenades), currently obtainable in Weapons crates and Riot crates.

Supplypacks:
-Adds a roll of film to the bureaucracy crate, and made it a little cheaper.
-Removes the beanbag crate entirely, it redundant. Just print out the beanbag shells at the autolathe.
-The previously-overpacked Riot gear crate comes with 1 less set of equipment, but with more handcuffs. Made cheaper to compensate.
2013-04-09 14:58:41 -05:00