[v1.7.0+] Race: Jury-rig

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2648
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.7.0+] Race: Jury-rig

#1 Post by Zizzo »

Amazing what can spring up out of a stray wacky idea… In this case, for instance, I was thinking, "a character that could wield lots of gems would be neat". That got me thinking about how to do that, and ideas kept piling up on top of other ideas, until it all came together in the form of my new Race: Jury-rig addon. :shock: 8)

Jury-rigs are constructs built out of mismatched golem parts, built around a multi-gem core. They can wield up to five gems based on one of their race talents, and another talent lets them add "mods" to add more equipment slots:
  • Weapon mounts (adds mainhand and offhand slots; up to 2)
  • Articulated "hand" actuators (adds gloves slot; up to 2)
  • Foot-based locomotors (adds boots slot; max %d, up to 2)
  • Head mount (adds helm and amulet slots; up to 2)
  • Ring spindles (adds 2 ring slots each; up to 3)
  • General utility mounts (adds tool slot; up to 3)
  • Not a "mod" per se, but some rearrangements to allow you to fit into body armor (adds body and cloak slots; up to 1)
They start with a weapons mod and a tool mod (plus light and quiver slots, because that would be just cruel), and can add up to five more mods. In particular, you'll get an opportunity at the start of the game to add one mod immediately; Brawlers and similar classes will obviously want to take a hands mod.

(Now, fair warning: the player tiles are… rough for now. :oops: One of the features I'm proud of is that the player actually visually changes shape when you take certain mods like hands or head. That involves a lot of tile overlays, though, so making proper graphics for all of them is goint to take a while; for now I'm using… well…
juryrig-body-samples.png
juryrig-body-samples.png (20.23 KiB) Viewed 25 times
:oops: :oops: :oops: )

Now, I think I've covered all the cases that could break (famous last words… :roll: ), but there are no doubt still bugs; as always, this is the best place to report them.

[Implementation notes:]

Code: Select all

Hooks:
  ToME:load [to load all our stuff]
  Entity:loadList [to add a worldmap entrance]
  Actor:updateModdableTile:skin [character tile juggling]
  Actor:updateModdableTile:middle [character tile juggling]
  Actor:updateModdableTile:front [character tile juggling]
  ToME:playerDumpJSON [tweaks for online character sheet]
Superload:
  mod.class.interface.Combat:
    combatDefense() [changes from a race talent]
    combatDefenseRanged() [changes from a race talent]
    combatArmor() [changes from a race talent]
    combatArmorHardiness() [changes from a race talent]
    combatCritReduction() [changes from a race talent]
  mod.class.Game:
    changeLevelReal() [to deliver a message on entering certain towns]
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2648
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.7.0+] Race: Jury-rig

#2 Post by Zizzo »

Frequently Asked Questions:

Wait, no gloves slots? How do I play a Brawler?

At the start of the game, you will have an opportunity to add a mod, including one that gives gloves slots. (Indeed, if the addon can detect that your class relies on unarmed combat, it will encourage you to take a hands mod at this point.)

How do I get mods in Infinite Dungeon or the Arena?

This race is currently only supported in the Age of Ascendancy campaign; We Apologize for the Inconvenience.™ We hope to add support for other campaigns in future releases.

Hey, my character looks different on the character sheet!

That's unavoidable. The online characters vault obviously doesn't know about our custom body tiles for the Jury-rig race, and in their absence the character doll on your online character sheet would end up being just your worn equipment floating in mid-air, as you may have seen with characters of other addon-provided races. We avoid that by modifying the character sheet for export to the server, replacing the custom Jury-rig body tiles with the standard runic-golem body tiles used for Alchemists' golems. We Apologize for the Convenience.™
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply