User:Midianian/Userscripts
From The Urban Dead Wiki
| |
| Toolbox | |
|---|---|
| User | Talk | Userscripts Greasemonkey et al. | Workshop | Archives |
|---|
Some time ago I installed Greasemonkey, and subsequently got rid of UDtool. I never really liked UDtool, it was too big and clunky (I didn't like the other available extensions either, as they were even bigger and clunkier). Recently I found out that the same scripts can be used in Opera (through user scripts), Google Chrome (through Greasemetal), Safari (through GreaseKit) and Internet Explorer (through GM4IE).
With little work the scripts became compatible with Opera and Chrome. The scripts are untested on GreaseKit as I couldn't install it on Windows and I don't have a Mac, but I think they should work. The design of GM4IE is a bit stupid and I couldn't get the scripts to work on it. Well, three out of five ain't bad.
In addition to the scripts I've written myself (listed below), I also use the HP Colorizer.
The scripts I wrote are separate (instead of one big script) for several reasons: 1) makes it easier to disable specific feature, 2) if one script doesn't work, the others are unaffected, and 3) compatiblility with other scripts.
If you have an idea for a new feature or script, want to report a bug, or something like that, post on my talk page and I'll see what I can do.
Scripts
UDICOS | Screenshot | Version: 1.0 | Last updated: 2008-10-05 |
Urban Dead Item Combiner, Organizer and Sorter. Does what the name says, plus it calculates the total shots you have in your pistols, shotguns and pistol clips.
I liked UD item organizer v0.4 in general, but there were some problems with it and since it was obfuscated, I couldn't fix it. So, I got v0.3, which wasn't obfuscated, and fixed that. Now it includes all the functionality of 0.4, and more.
Version history:
- 1.0:
- complete rewrite to make compatible with Opera and Google Chrome
- merged "Medical" category to "Science"
- all carried radios are now shown entirely separately, so that each of their frequencies can be adjusted individually
- syringes are no longer dumped to Unknown when the character doesn't know how to revive
- christmas trees and lights added, though not tested
- unrecognized items are preserved as they are, and not combined
- "drop item" list is also sorted and duplicates removed
- 0.5: (differences to the unobfuscated 0.3)
- new category: decorations
- shows total shots for pistol clips, similar to pistols
- alphabetically sorts items inside categories
- inventory header now looks same as without the script (also in 0.4)
- shows encumbrance percentage (also in 0.4)
- added flavour-melee weapons (also in 0.4)
UDML | Screenshot | Version: 1.3 | Last updated: 2008-09-28 |
Urban Dead Map Links. Inserts links to both RedRum's and the wiki's maps next to the suburb name. RedRum's link isn't shown in Monroeville.
Version history:
- 1.3:
- Opera and Chrome compatibility.
- 1.2:
- some two-part suburb names had the latter part in lowercase, which caused problems
- 1.1:
- standardized and cleaned up the code. works now on FF 3.0.
- 1.0 (unavailable due to fuckup)
UDPL | Screenshot | Version: 1.3 | Last updated: 2008-09-28 |
Urban Dead Profile Links. Inserts two links after a character's profile link; one to their Rogues Gallery page, and another to add them to contacts. If they already are a contact, the latter link removes them. Works in the area description box, DNA scans, and in the "Since your last turn:" listing.
Version history:
- 1.3:
- Opera and Chrome compatibility.
- 1.2:
- now works also on contacts page
- 1.1:
- contacts now have '-' to remove them
- all profiles in "Since your last turn:" should work now
- link formatting chaged, now smaller and doesn't change line height
- 1.0
UDRB | Version: 1.2 | Last updated: 2008-09-28 |
Urban Dead Refresh Button. Inserts a "Refresh" button as the second button on the row of possible actions.
Version history:
UDBSC | Screenshot | Version: 1.3 | Last updated: 2008-10-05 |
Urban Dead Building State Colorizer. Colorizes a building's door, darkness, ransack and ruin status, presence, damage-level and status of machinery, and barricade level.
Version history:
- 1.3:
- new phrases: "low on fuel", "only has a little fuel left", "enough to power"
- changed machinery highlighting because "damaged" could also be found elsewhere in building descriptions
- fix: spraypainted messages were still highlighted
- "ransacked" in museums in the description "ransacked by looters" is no longer colourized
- 1.2:
- Opera and Chrome compatibility.
- 1.1:
- machinery damage-level now highlighted
- doesn't highlight phrases in spraypainted messages anymore
- colours tweaked
- 1.0
Phrases and Colours
lights out - extremely heavily barricaded - very heavily barricaded - heavily barricaded - very strongly barricaded - quite strongly barricaded - lightly barricaded - loosely barricaded - have been secured - left wide open - ragged rectangle has been cut - opens directly onto the street - ransacked - has been ruined - has fallen into ruin - are ruined - badly damaged portable generator - damaged portable generator - battered portable generator - dented portable generator - badly damaged radio transmitter - damaged radio transmitter - battered radio transmitter - dented radio transmitter - portable generator - radio transmitter - is out of fuel - powered-down - is running - powering - enough to power - low on fuel - only has a little fuel left
UDVL | Version: 1.1 | Last updated: 2008-09-28 |
Urban Dead Victim Link. Creates a link to the profile database from the victim of an observed PK.
Version history:
- 1.1:
- Opera and Chrome compatibility.
- 1.0
