Created defines for disabilities and sdisabilities bitflags. Thos areas of code really need attention. Why are there so many blind variables/flags D= disability bitflags are located in setup.dm
Handcuff overlays now update when beepsky/ed-209s cuff you.
Resolves issue 628. Took a stab at tidying up handle_regular_hud_updates() for humans. If it's all working perfectly as it appears to be I'll start doing the same for other mobs. Whomever started 'fixing' this and then just abandoned it with redundant and heavily-broken code should be ashamed :[ It was/is in a real sorry state.
Resolves issue 617. Shades can no longer be weakened (stunbatons etc).
Fixed an issue with one of the antag deaf-sting/rune/whatever-it-was-I-forget causing nearsightedness rather than deafness :P
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3985 316c924e-a436-60f5-8080-3fe189b3f50e
Moved the simple_animal folder into /mob/living.
- Thanks to tortoiseSVN issues, I will have to remove the old simple_animal folder in a second commit.
Moved to living:
- maxHealth
- health
- control_object
- incorporeal_move
Moved to carbon:
- silent
- alien_egg_flag
Moved to human: (human_defines.dm)
- All vars that used to be defined in human.dm
- underwear
- backbag
- miming
Deleted from mob:
- r_epil //Old var, not used anymore
- r_ch_cou //Old var, not used anymore
- r_Tourette //Old var, not used anymore
- spellvoice() //Old proc, not used anymore
- get_damage() //Unused, we have getHealth() that does the same thing
Removed some unticked files that have already been replaced.
This also fixes cyborgs being 'knocked unconscious' by rolling pins and secure breifcases
- Additionally; to knock someone out with a rolling pin you must now be targeting the victims head.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3976 316c924e-a436-60f5-8080-3fe189b3f50e
Replaced every l_hand = and r_hand = and all that if(hand) crap to use standardised procs. This means we can use procs like Dropped() reliably as they will always be called when things are dropped.
Thorough documentation to come. But generally, if you want a mob's icons to update after deleting something in the inventory...use drop_from_inventory(the_thing_you_wanna_drop) just before deleting it. If you wanna put something in a mob's hands use put_in_hands() (or one of the variants). It'll try putting it in active hand first, then inactive, then the floor. They handle layers, overlays, screenlocs calling various procs such as dropped() etc for you. Easy
mob.equipped() is now mob.get_active_hand() because there was another totally unrelated proc named equipped() and stuff was confusing.
Weakening was made instantaneous.
Minor optimisations for human/handle_regular_status_updates(). I'll port these changes over to the other mobs next. Basically it should stop it constantly incrementing every status effect even after death.
umm... bunch of overlays related fixes... I think that's everything. :/
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3900 316c924e-a436-60f5-8080-3fe189b3f50e
- Removed Veil-Render from the possible Wizard artifacts.
It's still available for adminspawn with the path /obj/item/weapon/veilrender
If any of you should want it for shenanigans.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3872 316c924e-a436-60f5-8080-3fe189b3f50e
update_clothing() has been broken up into it's key parts. A full explanation can be found in code/modules/mob/living/carbon/human/update_icons.dm
the tl;dr of it is that overlay updates are no longer called by the gameticker. Instead they are called by procs such as u_equip db_cick etc. This means faster updates (although admittedly, more of them can be called per tick). This however is offset by the fact that specific overlays can be updated now, vastly improving its efficiency. This will especially help when there are large numbers of dead mobs.
Fixed the throw code for TKgrab so it can be toggled.
Cloaking for aliens/humans/ninjas was changed. It's very crude at the moment and for that I apologise. But it works and is very efficient.It also stops cloaked individuals becomming invincible due to people being unable to hit them (even when they know exactly where they are)
Fixed a bunch of bugs with damage-overlays. They were updating FAR FAR to frequently. They were also horribly inefficient. They should now be virtually seamless when updating and only use cached icons, so they aren't affected by lag as badly. This may help with explosions lag a little.
There's still a tonne of stuff I need to refine with this. I'll be refining it down into some helper procs to reduce on code duplication and such
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3811 316c924e-a436-60f5-8080-3fe189b3f50e
- I added in the foundations for traitor factions. See factions.dm for all the different faction datums. They don't do anything yet.
- I completely ported mob/var/mutations from a bitfield to a generic list. Mutation enumerated-identifiers are added into this list. For instance, TK = 1, COLD_RESISTANCE = 2, XRAY = 3, etc... The purpose of this was because bitwise operations could not actually be used after a certain size (because BYOND is stuck in the 16bit era).
- I've added in completely-functional nano-augmentations. Check under implantnanoaug.dm for a list of implants and implaners. As mentioned previously, they are completely functional but may be slightly OP. Among these nanoaugs are Super Strength, Psionic Radar, Electric Hands, Energy Blade/Sword Synthesizer, Rebreather, Dermal Armor, Combat Reflexes, and Regenerative Nanorobots. I won't go into detail as to what they do, but hopefully they should be self-explanitory. If not, check out their descriptions in the file previously mentioned.
- Added in a future traitor item, the Mind Batterer. Along with it a new .ogg file.
- New telecomms bus mainframe sprite, thanks to WJohnston.
- New holdable shield, sprites courtesy of Muncher (i had to mangle the side sprites because of a technical little issue. I'll change it back to the original soon). It can be retracted and expanded. Probably only going to be given to traitors.
- A couple of minor bugfixes here and there, along with some code tidying.
Hope this isn't too large a commit. I intended it to be MUCH larger, but I've decided to split up my Traitor Factions expansion into smaller commits.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3692 316c924e-a436-60f5-8080-3fe189b3f50e
- Replaced them with a whole range of inventory slot flags. These now govern whether an item can or can't be placed in a certain inventory slot. See setup.dm for information on the flags. These flags only affect humans tho, as humans are the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross them. I hate indented variable definitions!
This commit should not bring any change whatsoever to the game from a player's perspective.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3659 316c924e-a436-60f5-8080-3fe189b3f50e
- Hopefully this will cut down on the server spamming/crashing escapades happening on other servers. (This wont stop that from happening, this just makes it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.
Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short. 26's are annoying when they have to be changed and you have to hunt through over a hundred files and tens of thousands of lines of code to find them all.
Moved uplink_kits.dm to code/game/objects/storage
Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate dm files but this will do for now.
*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it gets shown to the user through html or the like.
If it does please sanatize() or strip_html() it. Also use copytext() to cutoff spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3652 316c924e-a436-60f5-8080-3fe189b3f50e
Added Ausops gateway sprite.
Added placeholder structures so the people working on the map have something to mark where the recieving gate will be.
And unfinished Behemoth code because the dme needed to be updated to include Ausops stuff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3572 316c924e-a436-60f5-8080-3fe189b3f50e
If a cultist builds a construct, that construct will be a cultist. This means they can see cultists finally (and will probably count for the escape objective, so that might need changing numbers wise)
Fixed some typos in the cult runes (godamnit Urist) and the blind rune can no longer be made into a talisman, cause a handheld, instant, AoE blind that lasts 20 seconds with no counter is retarded.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3507 316c924e-a436-60f5-8080-3fe189b3f50e
Removed restrictions for cultists, anyone can be converted now.
Bibles no longer deconvert cultists to stop the random bible smashing from ruining rounds
Soulstones can no longer capture the manifested ghosts. No more infinite constructs.
Removed the telecomm traffic control from the map until its fixed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3500 316c924e-a436-60f5-8080-3fe189b3f50e
Added Khodoque's new shotgun sprites.
Added my new gasmask sprites. Removed emergency gasmasks, as the distinction is non-existent.
Very slightly reshuffled some mask stuff around, but it's still godawful.
Medical masks are now /obj/item/clothing/mask/breath/medical
Removed the define for HALFMASK, as it was completely unused.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3493 316c924e-a436-60f5-8080-3fe189b3f50e
Cult walls can now be reduced to said girders.
Artificers can now create cult floors with a new
Added the damaged cult floor sprites by Ausops.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3466 316c924e-a436-60f5-8080-3fe189b3f50e
Moved delete to trial admins because they can already mass delete and that's not particularly as helpful as regular delete (but a lot more destructive)
Trialmins can now toggle adminhelp sounds without observing
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3397 316c924e-a436-60f5-8080-3fe189b3f50e
Removed the wizard's Nar-Sie grav pull entirely to reduce lag/it is strong enough as is.
Fixed the gyrojet projectile name
Removed the ion rifle from the armoury
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3272 316c924e-a436-60f5-8080-3fe189b3f50e
Adds a var to the spellbook that determines if it can be used for buying veil renders and arsenals.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3259 316c924e-a436-60f5-8080-3fe189b3f50e
Changes the way people are selected for rounds. In the case of a insufficient people for a round, all people with it set to 'yes' will be chosen before drafting others.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3218 316c924e-a436-60f5-8080-3fe189b3f50e
This means items now spawn in your hand if possible, items are sorted into categories, and only items you have enough telecrystals to purchase will be displayed. Also, the same basic code is now used for PDA, headset and nuke-round uplinks, and it should be easier to add new items.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3216 316c924e-a436-60f5-8080-3fe189b3f50e
Wraith phase shift is a bit longer so you can actually get through the entire wall when BYOND is lagging. Wraith has new sprites from TankNut
Juggernauts minimum damage was raised
You can now tell if a construct is wounded by examining it
Simple animals (constructs, Ian) can now see their health in the Status tab
Added spells for summoning soulstones, walls, r_walls, and a lesser version of the spell for summoning construct shells
Updated the changelog
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3161 316c924e-a436-60f5-8080-3fe189b3f50e
Nuke ops lost that horribly nerfed piece of shit c20r and now get Desert Eagles and Riot Shields.
The detectives .38 ammo now does the same damage as regular revolver bullets. If he wants to keep acting as a glorified sec officer, he can go grab a taser.
The Veil Render now summons a subtype of Nar-Sie which doesn't pull anchored objects. This should reduce the power of the item/reduce lag while I get sprites and finalize details with Urist for reworking it as the Sphere of Annihilation (as in, this is temporary)
Updated the changelog
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3132 316c924e-a436-60f5-8080-3fe189b3f50e
Fixed the Veil Render sprite, I'd left part of the outline from cutting it out of the grid Ausops sent me.
Moved my stuff to a more recent part of the changelog because my ego needs feeding (no seriously because I think things like the chaplain being cult immune or nuke ops getting a teleporter needs to be well known)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3089 316c924e-a436-60f5-8080-3fe189b3f50e
Proc spellbook got the Summon Guns spell but I don't want to mess with adding artificer into that system
Added a check to stop artefacts from causing runtimes when you try to buy them with 0 points left.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3073 316c924e-a436-60f5-8080-3fe189b3f50e
When used, it will arm every human mob that is not already a special role (and with a client assigned) with a random gun from the following list:
-Taser
-Egun
-Laser
-Revolver
-C20r
-Decloner
-Desert Eagle
-Gyrojet Pistol
-Pulse Rifle
-Silenced Pistol
-Laser Cannon
-Combat Shotgun
-Mini-Uzi
-Mini-Ebow
It will then inform the player that
"You are the survivor! Your own safety matters above all else, trust no one and kill anyone who gets in your way. However, armed as you are, now would be the perfect time to settle that score or grab that pair of yellow gloves you've been eyeing..."
And make them a traitor/give them the objective to survive till the round ends.
After use, rightandwrong will remove itself from the users list of verbs.
rightandwrong addeded to the Spellbook under "Summon Guns"
The verb will appear in the spell tab.
Updated changelog
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3071 316c924e-a436-60f5-8080-3fe189b3f50e
Upped the time it takes before Nar Sie is spawned from 3 seconds to 5 seconds.
Added to the description in the spell book to let players know that activating the Viel Render in hand triggers its special ability.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3069 316c924e-a436-60f5-8080-3fe189b3f50e
Added Veil Render to the spellbook
Added the effect "rend" as part of Veil Render's summoning process. Rend spawns Nar-Sie and deletes itself after a 3 second delay.
Updated the changelog.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3067 316c924e-a436-60f5-8080-3fe189b3f50e
Added the Wraith construct, a faster, more fragile construct which has a lesser version of Ethereal Jaunt. It too is vulnerable to bibles.
The Chaplain is now immune to blood boil, stun talismans, and cult blind/deafen
Constructs are finally creatable by using a full soulstone on an empty construct shell. The creator will be able to choose which kind of construct is created.
Cultists can get construct shells from their supply talisman
Wizards now get the spell "Artificer" which allows them to create construct shells for free when they select the soulstone belt.
Medical Borgs are now relentless to prevent them losing hold of incapacitated patients.
Added the Artificer (conjure construct shell), Phase Shift (lesser jaunt), and Shield (lesser forcewall) spells
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3054 316c924e-a436-60f5-8080-3fe189b3f50e
Soul Stones can now capture Shades (which heals them)
Soul Stones capturing a soul will now be imprinted with that shade, and be unable to capture new souls/other shades
Added ectoplasm object/sprites. As of now it has no uses.
Shades now delete on death and leave ectoplasm behind.
Soulstones can be bought with the wizards spellbook (as a set of six) and from the cultist supply talisman.
The Chaplain has a single soulstone in his office (mostly for testing/so it will get used often and I can get feedback)
Speaking of items on the map for testing, Reactive Teleport Armour no longer spawns in the RD's office (because Urist will murder me if I have to retarded test items out at once)
Removed some no longer needed code regarding soulstones from the suicide verb.
Updated the changelog
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2821 316c924e-a436-60f5-8080-3fe189b3f50e
Right now you can't do anything them other than capture people (and talk to them if you're near the stone)
Added a new belt variety that can only hold shards. Still needs its own sprites.
They currently do not spawn anywhere/are admin only.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2777 316c924e-a436-60f5-8080-3fe189b3f50e
Instead, the spellbook simply starts with an extra use. This will save you the trouble of re-memorizing if you do not want to take ethereal jaunt.
Put an Ion Rifle on the nuke ops shuttle which will hopefully help with nuke teams getting routinely destroyed by sec borgs.
Fixed a wizard spawn message which referred to a no longer existing item (it mentioned "two" artifacts in your pockets,though you no longer spawn with a scrying gem)
Added Magus Helm sprites/object, which as of now does not spawn and is just an alternative wizard hat (counts for spell requirements).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2743 316c924e-a436-60f5-8080-3fe189b3f50e
The Wizard Spellbook has a new subsection: Artefacts. Artefacts are items with special properties that the wizard can purchase as an alternative to spells (one artefact costs as much as one spell)
Currently the only Artefact is the Staff of Change, more to follow.
Updated the changelog.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2739 316c924e-a436-60f5-8080-3fe189b3f50e
- Rounds that end in invalid ways will now be logged,
- Round results are logged
- Rounds that don't end with a code-determined reboot will still not log at all (so rounds that end in a crash will not log at all - not even round start or mode.)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2457 316c924e-a436-60f5-8080-3fe189b3f50e
Rewrote the job selection system to use bitflags and the jobs are now objects.
Fixed a path conflict with effect which caused a few things to be unable to be clicked on.
Commented out the job.txt, Urist if you still want it to load from the .txt give me a yell and I can update it to work with the job objects.
Fixed up the bits that were missing the slightly updated mob organ attack code.
Moved the traps file into unused.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2340 316c924e-a436-60f5-8080-3fe189b3f50e
Moved into their own folder and got split into three files.
Damage zones have been regrouped slightly to make it easier to deal with them. Currently the organ groups are head, l/r leg, l/r arm, and head.
Attacking:
Armor is properly checked.
Currently aiming for the chest gives a higher chance to stun whereas the head will stun for longer.
Stungloves/Disarm now show up in the attack log.
Stungloves ignore intent.
Silicon:
AI units can now move between cams that are not on the ss13 network.
Cyborg's alert screen should not longer pop up every time they get an alert if they have opened it once during the round.
Robot vision now uses the standard amount of energy.
Gamemodes:
Added Deuryn's unrev message.
Runes can only be examined if you are close to them.
Moved the Loyalty implants to the HoS' locker at the request of HerpA.
Nuke agents now come with explosive implants that will activate upon death.
Projectiles:
Once again went though the gun code and cleaned things up, it is much better now.
Bullet_act fixed up and most mobs now use the one in living, just overload it if they need to do something diff.
Freeze /caplaser/xbow no longer have an infinite loop.
Shotguns have to be pumped manually.
Went though the latest runtime log.
Power cells now use return on their give/use procs
Assemblies have been reworked and are nearly finished, just need to finish up the special assembly code, redo the signalers, and add one or two new assembly items.
Laying down will now only take 3 ticks to get up, from 5.
You can no longer punch people on the spawn screen.
This is a big one and was cleared by two heads, TK will only allow you to pick up items. If you have an item in your hand it will act normal.
This revision got much larger than originally intended my tests show everything is working fine, but you never know. Ill likely do more mob teaks in the next few days.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2333 316c924e-a436-60f5-8080-3fe189b3f50e
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work.
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more. More random name monkeys will help with changeling and clean up the observe/mob menus.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.
Effects contains objects which are either landmarks, triggers, spawners or decal.
Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG
I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
Mime wall recharge time is now equal to the time for the wall to vanish. In short you can only have one wall up at a time. The walls also finally have a bullet_act proc so hiding on top of walls is much less effective.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2278 316c924e-a436-60f5-8080-3fe189b3f50e
The rev icons bug might be fixed now.
Removed the old logged say file as it is no longer used and contained questionable material.
People should no longer spawn on the wizard station for a second at round start.
Removed the old intercept vars as they have not been used in a good while.
Blob is more or less back to its old state but still has the lava sprite, can we please get some new sprites for it.
Fixed the door on the prison station, it can now actually be used again.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2163 316c924e-a436-60f5-8080-3fe189b3f50e
-Mutate spell now gives Hulk and Laser Eyes instead of Hulk and Telekinesis. This is to to prevent the AI from getting one-humaned with no risk and the inevitable TK/thermal/axe spree that follows.
Chaplain
-King in Yellow Robes added to Chaplains wardrobe (sprited by Curwen)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2124 316c924e-a436-60f5-8080-3fe189b3f50e