Commit Graph

486 Commits

Author SHA1 Message Date
Cael Aislinn 5e959faed1 Merge pull request #726 from Giacomand/symp
* Fixes damage converter converting when there is only toxin damage in ...
2013-06-08 17:50:19 -07:00
Cael Aislinn 9ebaaff5f4 Merge pull request #733 from Blaank/master
Food crate update and supply shuttle computer tweak
2013-06-08 17:48:37 -07:00
Cael Aislinn 6531edd757 Merge pull request #576 from SuperSayu/camerabug
Fixes 'Camera Bug' item and makes it a viable tool.
2013-06-08 17:43:18 -07:00
Blaank 01b29d8ef6 Changed food crate to include all of chef's basic ingredients. Changed
supply shuttle console to no longer require a reason while ordering.  The
requests console is unchanged and must have something in the reason
field.
2013-06-07 18:40:51 -05:00
Giacomand 19af7689c0 * Fixes damage converter converting when there is only toxin damage in the mob.
* Increased the damage probability to be more effective.
2013-06-06 07:54:31 +01:00
Cael Aislinn 871b775100 Merge pull request #655 from Carn/HelpersTidy
*Small tidy-up of various helper procs*
2013-05-31 23:24:38 -07:00
carnie b84d12d949 *Small tidy-up of various helper procs*
-Turns out there was already a Gaussian PRNG proc already, used by mechs and turrets. I've replaced it with my one as mine has almost half the cost. (currently broken! still waiting for fixes to be pulled!)
-replaced between(min, val, max) with Clamp(val, min, max)
-get_turf(thing) now uses var/list/locs to locate its turf, rather than iterating up through loc of its loc of its loc...etc
-sign(num) moved to maths.dm
-InRange(val, min, max) replaced with IsInRange(val, min, max) (they were identical)
-Removed ismultitool() iswrench() iscoil() iswire() iswelder() iscrowbar() etc
-removed modulus(num) as abs() performs the same task! *roll-eyes*
-removed get_mob_with_client_list() as it is no longer needed (we have var/list/player_list now)
-removed get_turf_or_move() as it simply called get_turf
-removed get_turf_loc() as it was identical to get_turf()

*Additions:*
-The "Declare Ready" link in the lobby will automatically become "Join Game" if the round starts before you declare ready, so you don't have to click it twice
2013-05-27 12:21:43 +01:00
carnie 52e2efdb7f *Fixes the gaussian PRNG
*Fixes a minor mistake in num2hex
*Fixes a bad call to num2hex which was causing data_core records to all have an ID of "000000". Fixes #583
*Rebalances dna modification to match the PRNG fixes.
*Fixes cloning computer not copying b_type to data disks

DNA modifier features:
*Probability indicators for emitter settings
*Info on last pulse operation
*Cannot operate on dead subjects
*UE/UI/SE spaced out more

Modified   code/__HELPERS/maths.dm
Modified   code/__HELPERS/type2type.dm
Modified   code/__HELPERS/unsorted.dm
Modified   code/datums/datacore.dm
Modified   code/game/dna.dm
Modified   code/game/machinery/computer/cloning.dm
Modified   code/game/machinery/computer/security.dm
2013-05-23 12:05:04 +01:00
supersayu e8090ae34c Fixes 'Camera Bug' item and makes it a viable tool.
Camera bug acts as a mini-camera computer with access to all bugged cameras.

Adjusts camera checks to determine who is looking through them; instead of checking their machine, it now checks the client eye.

Adds camera bug to the uplink list with a cost of 2TC.
2013-05-12 17:52:40 -04:00
carnie 5e7cffcf5c update_icons.dm changes for humans. This ties in with the dna changes and the changes to skin_tone and hair colours
>update_mutantrace() is no more, it is now part of update_body()
>Moved a lot of stuff into update_base_icon_state(), this will allow making mutantraces modular.
Almost all icon operations are now removed from human overlays (obviously some are still required for recolouring hair and eyes). Any remaining dynamically generated overlay icons are applied individually. This will allow byond to cache them better. This will also eliminate the bug where humans are initially invisible/unclickable when you first encounter them (due to network latency where the icons are being downloaded).
>UpdateDamageIcons() renamed to update_damage_overlays(), so it has the same sort of name as the other procs
>update_icons=true or false arguments removed from human overaly-update procs, no longer required. (i.e. the update_body() update_inv_whatever etc procs do not call update_icons() - see documentation for details)
>mutantrace icon_states moved into human.dmi
>skeletons are now a mutantrace, not a mutation.
>update_icons system should now be even more efficient (thanks partly to aranclanos)
>documentation rewritten
>copypasted code moved into helper procs - super tidy code :3

Other:
>Removed compile error where the core code was reliant on compiling away mission code. >:[
>s_tone renamed to skin_tone

Modified   code/modules/mob/living/carbon/human/update_icons.dm
Modified   code/__DEFINES.dm
Modified   code/datums/datumvars.dm
Modified   code/datums/limbs.dm
Modified   code/game/dna.dm
Modified   code/game/gamemodes/changeling/changeling_powers.dm
Modified   code/game/gamemodes/cult/cult_items.dm
Modified   code/game/gamemodes/cult/runes.dm
Modified   code/game/machinery/doors/airlock.dm
Modified   code/game/machinery/portable_turret.dm
Modified   code/game/machinery/teleporter.dm
Modified   code/game/mecha/combat/combat.dm
Modified   code/game/objects/items.dm
Modified   code/game/objects/items/stacks/medical.dm
Modified   code/game/objects/items/stacks/sheets/glass.dm
Modified   code/game/objects/items/weapons/storage/bible.dm
Modified   code/modules/assembly/mousetrap.dm
Modified   code/modules/hydroponics/hydroitemcode.dm
Modified   code/modules/mob/living/carbon/carbon.dm
Modified   code/modules/mob/living/carbon/human/death.dm
Modified   code/modules/mob/living/carbon/human/human.dm
Modified   code/modules/mob/living/carbon/human/human_damage.dm
Modified   code/modules/mob/living/carbon/human/human_defines.dm
Modified   code/modules/mob/living/living.dm
Modified   code/modules/mob/living/simple_animal/friendly/slime.dm
Modified   code/modules/mob/mob_grab.dm
Modified   code/modules/power/lighting.dm
Modified   code/modules/reagents/Chemistry-Reagents.dm
Modified   code/unused/_debug.dm
Modified   icons/effects/genetics.dmi
Modified   icons/mob/human.dmi
Modified   maps/RandomZLevels/wildwest.dm
Modified   tgstation.dme

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-05-10 18:41:08 +01:00
Cael Aislinn b1402b48ea Merge pull request #498 from Giacomand/bringbacksoap
Re-added Syndie Soap
2013-05-03 21:46:26 -07:00
Giacomand 1d8df3874a * Re-added soap after it was mistakenly forgotten after the https://github.com/tgstation/-tg-station/pull/194 conversion. 2013-05-03 17:49:53 +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 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
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
Pete Goodfellow fed03de04f Merge pull request #194 from Giacomand/href_exploit_fix
Uplink Update: Added datums for uplink items. This allows you to easily add items to the uplink in a maintainable manner.
2013-04-09 17:11:15 -07: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
Giacomand ebf06eb413 * Forgot to put the type into a string. 2013-04-08 23:47:37 +01:00
Giacomand 45fd92c48e * The feedback will now use the item's type. 2013-04-08 23:44:07 +01:00
Cael Aislinn 028e2faa69 Merge pull request #310 from Cheridan/master
Hud Update / Shieldbarrier repath
2013-04-07 06:37:08 -07:00
Giacomand ffd1d65cda * Fixes a RandomCut() runtime. 2013-04-07 02:44:27 +01:00
Cheridan c160293a78 Hud Update!
-Updates some of the icons used by SecHuds; namely security/hos, medical doctor, and loyalty implants.
-Also repaths the shield barrier crate, which had the same path as another supply pack. Not making a separate pull for a 1-line change~
2013-04-06 11:58:12 -05:00
Aranclanos 05a4394696 Using ethereal jaunt will now unbuckle you to avoid being deleted with the holder at failing the move() call. 2013-04-04 16:29:27 -03:00
Giacomand aebdc5bb80 * Small update to check that user isn't null and that the spawned item is a /obj/item before trying to put it in the user's hand. 2013-04-03 14:49:09 +01:00
Giacomand 24a902eae7 * Removed an unneeded variable. 2013-04-02 01:07:09 +01:00
Giacomand 26e29a44c1 Uplink Update:
* Added datums for uplink items. This allows you to easily add items to the uplink in a maintainable manner.
 * This fixes the href exploit which allowed traitors to spawn any item they wish.
 * Made the uplink interface still show unbuyable items, but grayed out.
 * After unlocking your PDA, it will return to the main menu; this will help stop metagamers.
 * Your password will be trimmed, meaning that entering "213 Alpha " will be correct and won't set it as your ringtone.
 * Replaced all the old uplink code, which is useless now.
 * Changed all the feedback procs to instead use the uplink datum's name. This is important if you are keeping track of stats.
 * Moved the bundle uplink item to the "Badass" category.
2013-04-02 01:02:54 +01:00
Giacomand ef45f3e1d9 Merge pull request #92 from Petethegoat/DB_cleanup
Database & config cleanup
2013-03-28 10:13:06 -07:00
Pete Goodfellow 07ed6f1223 Moved hud.dm to code/datums. Updated the dme. 2013-03-27 21:23:02 +00:00
Pete Goodfellow 31a7b64c8f Updates text (TG -> /tg/station), and removes some old comments. 2013-03-24 18:34:43 +00:00
Pete Goodfellow dffba3c827 Apologies in advanced for cramming this all into one commit, but it's all fairly interdependent.
Removes the old tgstation database. It has been merged into the newer feedback database.
All mentions of the old database have been replaced with the new one.
This includes updating tgstation_schema.sql and dbconfig.txt.

Removes README feedback.txt as it is now covered by the new schema.

Removes the unused forum DB stuff, including forumdbconfig.txt.
Updates the config, including both config.txt and game_options.txt. Many options have been moved into the latter.
Updates configuration.dm to reflect these changes.

Removes the config var/feature_object_spell_system as it did nothing.
2013-03-24 18:34:00 +00:00
carnie d7f92c2d7a Making modifications to getrev, requested by Nodrak x
You can now change the link to your github project by modifying config/git_host.txt

Removed config/svndir.txt, as it is no longer needed.

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-21 03:54:27 +00:00
carnie 05afc4f52c Substitute for the getrev code. Unfortunately, it only fetches the commit-hash for HEAD.
This should be sufficient for our needs though.

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-20 04:31:02 +00:00
carnie 8152283edc Disables the code for fetching SVN-revision info.
Obviously, this is because we have emigrated to github.
2013-03-18 05:33:31 +00:00
MrPerson a88b30ab31 Removed mind.original
All usage of it on silicons is replaced by is_special_character()
is_special_character moved from admin.dm to mob_helpers.dm
Also fixed a runtime having to do with objectives.
2013-03-11 05:40:21 -07:00
Pete Goodfellow b02c459505 Adding google code commits r5836 to r5849. RIP in peace google code. 2013-03-11 04:26:54 +00:00
d_h2005@yahoo.com a0045477be -Committing a slightly changed version of Startoad's bureaucracy crate patch.
-Dualsabers now come in the alternate colors, sprites courtesy of mjrseph.
-Adds the Vealrender, a harmless and goofy version of the veilrender, courtesy of supersayu. You can possibly find it in mining asteroid surprise rooms.
-*flap and *aflap are gender sensitive now, whoa!


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5834 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-09 06:00:40 +00:00
giacomand@gmail.com 3443c31c6a - Made cryogenics cells stop cooling you down in life() if there is less than 10 moles of gas in the pipe's gas mixture. Fixes Issue 1367.
- Restructured viruses in the reagent container to be more maintainable. Should also fix some issues with vaccines.
 - Restructured some code in the PANDEMIC.
 - You can now mix vaccines together, it will combine the list of viruses it will vaccine against.
 - Fixed Carp stunning Cyborgs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5817 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-06 21:18:15 +00:00
aranclanos@hotmail.com 47ba70aec9 Fixes issue 1365 - Spells not working for nonhumans mobs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5811 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-06 01:40:48 +00:00
Kortgstation@gmail.com 85f567cae2 Made cult blades/double barrel shotguns fit on exosuit slots again.
Wizard staffs, SAW, combat shotgun still don't

Added the Mjollnir and Singularity Hammer. Just silly melee weapons I coded/sprited for fun. Both are using the Mjollnir's sprites currently though I didn't have it in me to make a billion more inhands for the Singularity Hammer.

Mjollnir shocks the target and hurls them away/spews lightning around.

Singularity Hammer pulls everything nearby in towards the target.

Don't really have plans to balance them or make them obtainable in game but I thought as long as I'd coded them some admin or another may enjoy trading them to antags/giving them to the chaplain etc.

Lowered fireballs cooldown and decreased its explosion size (so wizards can use it without killing themselves by causing hull breaches)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5805 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-03 01:46:25 +00:00
giacomand@gmail.com 763b07d8d4 - Cleaned up false walls a bit and fixed some issues with using a welding tool with it. Fixes Issue 1288.
- Greatly decreased the goat attack damage. Fixes Issue 1310.
 - Changed how the suffixes are assigned for mulebots. Fixes Issue 1204.
 - Added some checks for occupants in sleepers/cryo/cloner pod, stops an exploit of being able to have a friend teleport you to the sleeper when you're in danger.
 - Re-added advance proc call for debug flag.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5796 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-28 23:22:37 +00:00
giacomand@gmail.com 46dc7d6084 Committing Faerdan's UI overhaul. Includes a UI browser class to easily manage and standardize user interfaces. This first release does not convert all the user interfaces in the game but only most of them. You can find samples of these user interfaces here: http://imgur.com/a/5dr6E
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5794 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-27 20:02:42 +00:00
ericgfwong@hotmail.com 070b650b16 -New symptom that generates inaprovaline, effectively making oxygen unnecessary.
-Replaced some notice spans with a more appropriate danger span
-Reduced resistance of visionloss symptom and added a check to stop spamming you with "You are blinded!" notices
-Added a check to the reagent symptoms so you don't get ridiculously high volumes in your body if you wait long enough

-Added more coins around the station
-Moved message monitor decryption key to CE's office since the RD can't even access it any more (and is not relevent to his duties)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5766 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-23 04:23:26 +00:00
ericgfwong@hotmail.com e5af38a856 Added three more symptoms: Choking, deafness, and visionloss. That should be all of them now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5763 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:52:49 +00:00
ericgfwong@hotmail.com 5833ea8095 Fixing bugs with some new symptoms.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5762 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:13:34 +00:00
giacomand@gmail.com a6bde92d6b - Added a limit to broadcast messages. Messages will now cut off at 512.
- Facehuggers will now let you open the bag even if you're wearing facehugger proof gear.
 - Added some sanitizing to signal().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5756 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 17:40:13 +00:00
petethegoat@gmail.com 6d5fe9d0e6 Standardised vending.dm, and also updated vending machines to use the new wire datums.
Fixes issue 1309. Kitchen Vendomat vends "weapon"

Removes the cautery step from debraining, as it was pretty pointless and needlessly confusing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5754 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 15:25:05 +00:00
giacomand@gmail.com 78abe5bfda - The user wasn't being put into the arguments of the proc, which allows admins to create their own disesases. I put the argument back. Fixes Issue 1312
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5753 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 13:46:03 +00:00