# Mastercraft and speed buff still not implemented for RC \[r 875\]

**URL:** <https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947>\
**Category:** Resolved Reports\
**Tags:** resolved\
**Created:** [July 14, 2018, 11:11am UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947 "2018-07-14T11:11:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psyborg](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Psyborg](https://discourse.stonehearth.net/u/Psyborg)\
**Post date:** [July 14, 2018, 11:11am UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/1 "2018-07-14T11:11:00Z")

</div>

Recently I’ve started playing Rayya’s Children faction and noticed that some of the town bonuses aren’t implemented.

Mastercraft bonus doesn’t work for RC. I can very often craft a masterwork item as Ascendancy while as RC I’ve crafted THOUSANDS and haven’t got a single mastercrafted item. I’ve compared the files for Ascendancy and RC - and it looks that Masterwork code is missing for RC, regardless of the quest bonus descriptions.

Same goes for x3 road speed buff - all RC move as fast as Ascendancy without the speed buff, while AC WITH the speed buff are significantly faster than RC. I haven’t checked the files, but I’ve tested it in-game with friends and it’s very obvious when playing Multiplayer…

I wonder if Northern Alliance lacks the same bonuses as RC…

---

<div class="post-metadata">

**Author:** ![Psyborg](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Psyborg](https://discourse.stonehearth.net/u/Psyborg)\
**Post date:** [July 14, 2018, 11:28am UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/2 "2018-07-14T11:28:52Z")

</div>

Ascendancy:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/d/9de92183435e2326dcda2af20c65e1a49274cbf2.png)

Rayya’s Children:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/c/f/cf2691594cec9b4ae211bb1bdae931ccdef401b3.png)

Northern Alliance:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/8/3/83332fac200657c331b353a03f9e957429d99a1d.png)

I’ve tried manually adding the bonuses to RC by copying the code, but it didn’t work… Maybe I did sth wrong…

---

<div class="post-metadata">

**Author:** ![paulthegreat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/paulthegreat/32/62395_2.png) [@paulthegreat](https://discourse.stonehearth.net/u/paulthegreat)\
**Post date:** [July 14, 2018, 6:29pm UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/3 "2018-07-14T18:29:42Z")

</div>

> [@Psyborg](#):
>
> I’ve tried manually adding the bonuses to RC by copying the code, but it didn’t work… Maybe I did sth wrong…

I assume you did this, but just to check, did you change the “class” function prefix to be the same as the destination? i.e., when copying over

```auto
function GuildmasterTownBonus:get_adjusted_item_quality_changes()
```

to Rayya’s Children, did you change it to this?

```auto
function RcGuildmasterTownBonus:get_adjusted_item_quality_changes()
```

---

<div class="post-metadata">

**Author:** ![Psyborg](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Psyborg](https://discourse.stonehearth.net/u/Psyborg)\
**Post date:** [July 14, 2018, 7:10pm UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/4 "2018-07-14T19:10:14Z")

</div>

Yeah, at the first time I didn’t notice that “Rc” at the beginning of the function name, but then I changed it properly, ordered 60 pcs of equipment and still got none of Masterwork quality, while as Ascendancy I get about 1 of every 10 pcs crafted.

---

<div class="post-metadata">

**Author:** ![max99x](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/max99x/32/40094_2.png) [@max99x](https://discourse.stonehearth.net/u/max99x)\
**Post date:** [July 14, 2018, 8:11pm UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/5 "2018-07-14T20:11:30Z")

</div>

Good catches.

For masterwork crafting, those files are fine (they inherit from the Ascendancy one), but the code that calls the function was looking specifically for the Ascendancy town buff, which is now fixed in the next release.

For roads, it isn’t Ascendancy vs other races. The problem was that roads built in the new building editor don’t have the bonus applied until after a reload. This is also fixed in the next release.

---

<div class="post-metadata">

**Author:** ![Psyborg](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@Psyborg](https://discourse.stonehearth.net/u/Psyborg)\
**Post date:** [July 19, 2018, 3:27pm UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/6 "2018-07-19T15:27:55Z")

</div>

Well… the code still looks the same, regardless of the new updates…  
Can I add it manually?

---

<div class="post-metadata">

**Author:** ![max99x](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/max99x/32/40094_2.png) [@max99x](https://discourse.stonehearth.net/u/max99x)\
**Post date:** [July 19, 2018, 10:48pm UTC](https://discourse.stonehearth.net/t/mastercraft-and-speed-buff-still-not-implemented-for-rc-r-875/36947/7 "2018-07-19T22:48:11Z")

</div>

The files involved in the change are `cunning_town_bonus.lua` and `crafter_component.lua`. Note that if you have unpacked the SMODs, Steam won’t update the unpacked ones.
