Starbound

Starbound

Colony Tweaks
274 条留言
☥¤§ÑîGHTMÃRɧ¤☥ 2023 年 11 月 21 日 下午 8:30 
I think your mod broke or is breaking my game! It's conflicting with tenant quest giving mods.
bk3000 2021 年 8 月 22 日 下午 11:27 
With the exception of quests ( which has "script": " ", instead of "scripts": [ ], ), there is a way.
You can patch whatever it is to add your script to the end of the "scripts" array. Then instead of replacing whole scripts, you hook the functions you need. For example

--backing up the previous functions
local old_init = init
local old_update = update


--replacing the functions
init = function()
--added code here
old_init() --call old function
--added code here
end


update = function(dt)
--code here
old_update(dt)
--code here
end


Many mods can hook the same thing in this way. If any mod is over-writing the whole thing, control load order to load your mod after it via _metadata
Piss Spy  [作者] 2021 年 8 月 21 日 下午 10:12 
Honestly I'm surprised this even still works for people considering I haven't touched it in years. Adding mods is always a risk since as a user you can never be certain which ones are modifying the .lua files. Mods that modify the same .lua files will always be incompatible without a patch. Unfortunately the developers never gave the community a good solution for getting around such problems before they moved on.
bk3000 2021 年 8 月 21 日 下午 7:46 
If you have errors like that, copy the logs onto Pastebin and post the link here. Could be a compatibility issue with another mod for one thing.
☥¤§ÑîGHTMÃRɧ¤☥ 2021 年 5 月 8 日 下午 4:47 
so u can make this mod edit something like pay rent with poop nice!
Wubba Lubba 2020 年 12 月 5 日 下午 9:40 
Dose This Work With ShellGuard NPC?
Xaliber 2020 年 11 月 11 日 下午 9:57 
Whoops, sorrry! Posted the wrong link. Thanks by the way!
Piss Spy  [作者] 2020 年 11 月 7 日 下午 7:10 
Edit: I found the correct link through your steam workshop and I've updated the post.
Piss Spy  [作者] 2020 年 11 月 7 日 下午 7:07 
@Xaliber I am happy to comply but it appears the link to the patch mod you've posted is incorrect. When I try to follow it it just redirects back to this page.
Xaliber 2020 年 11 月 2 日 下午 9:54 
Hi all,

I've received information that Colony Tweaks is incompatible with Supper's Combat Overhaul. So I made a "patch" (read: merge the conflicting file, that is monster.lua) here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=755833356

Drayne Johnson, do you mind adding the info for the compatibility patch on the description?

Thanks in advance!
Nin-Sama 2019 年 12 月 24 日 下午 6:52 
I wonder, what about when we are building tenant houses on our ship? (With a build-your own ship mod). And how important is planet threat in the rating? does it make up a lot of the money, or only small amounts compared to the other criteria?
Butchmattra 2019 年 12 月 24 日 上午 9:32 
Piss Spy  [作者] 2019 年 7 月 12 日 下午 2:49 
If you pay close attention to some of the furniture certain types have a lot more tag categories than others which means they scale faster for the same physical space. It's written that way because it's quick and dirty but also because it means you should try different stuff and exploit the scaling as much as you feel like you want to, lol. If this game had used a language I was more comfortable with or a cleaner API it would be written a lot better than it is.
Spyyre 2019 年 7 月 10 日 下午 3:31 
Just wanted to add that i made another room with a single table with 2 chairs and received almost 600 pixels for rent. It scales that quickly or is it just not working?
Spyyre 2019 年 7 月 10 日 下午 2:59 
Just because it isnt too clear, im going to ask: is this working properly in 1.4? Ive successfully set up a couple of really low tier shite rooms and spawned tenants, and theyre paying me ~20-25 pixels rent. But im more concerned about the new tenants and guards that are added.
Robur Velvetclaw 2019 年 6 月 29 日 下午 7:58 
Anyway let me reiterate it once more - this was a fun mod. I built a pleasure resort on an ocean planet, with 4-storey rooms, and they habitually earn me 1k pixels a pop, lol B-)
Robur Velvetclaw 2019 年 6 月 29 日 下午 6:00 
I suppose I could help with the debugging process, if you like ..... you just concentrate on the tweaks and rent part, I can handle the tenants section. I have done tenants and NPCs (by far my fave part of SB). Maybe I should showcase what I've done although TBH it's backbreaking work. But here you goes. =))

https://ccccc-wiki.webnode.com/weaponmerchant/
Piss Spy  [作者] 2019 年 6 月 29 日 上午 8:38 
Guess I'm going to need to make time to go back through this and re-learn SB internals in the near future.
Robur Velvetclaw 2019 年 6 月 24 日 上午 4:22 
I just checked your mod now that you've updated it, and must admit, the new low-tier guards are bugged. I spawned in Level 5 guards with the Executive set, yet they were wearing the wrong kind of armour (purple not black). Is this a bug?
Piss Spy  [作者] 2019 年 6 月 19 日 下午 3:01 
Thanks Robur. I haven't had time/patience to go back and check the new version of SB. If they changed any of the Lua files that this mod has to change in order to work then it will break the mod or break the update. Sadly they never bothered to implement patching for Lua files...

Load order of mods can affect things also and even though I had this one set to a late priority trying to have it defer to everything else Starbound never seemed to truly give a damn about that setting.
Robur Velvetclaw 2019 年 6 月 19 日 上午 12:36 
Okay, news flash too everyone else:
If you are having problems (starbound.log generates a 'setPersistent' error before crashing your game), try unsubbing and re-subbing, after adding all other mods back into the game. This worked for me, and I can say that my tenants are working fine for me once more.
Robur Velvetclaw 2019 年 6 月 19 日 上午 12:16 
@Death Profit:
Can you try to test your game and see what mods don't agree with Colony Tweaks? will it run with FU, or is it a compatibility issues related to 1.4 itself?
LordDeTracy 2019 年 6 月 14 日 下午 7:39 
Update please. 1.4 just dropped and im getting compatabilitiy errors from different mods.
Logik 2019 年 2 月 21 日 上午 8:08 
[Error] Could not apply patch from file /items/materials/bamboo.matitem.patch in source: ..\mods\colonytweaks.pak. Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Could not find "price" to remove
Same issue for;
/items/materials/jellyblock.matitem.patch
and
/items/materials/supermatter.matitem.patch

Those are the only 3 on newest update with Frackin' Universe. Also using Theme Deeds Patch.
Not game breaking.
Piss Spy  [作者] 2019 年 2 月 6 日 上午 4:21 
There is a secondary patch mod available that you install alongside this one. It will still work assuming that person never did anything extra crazy out of the ordinary since I produced it ages ago. Any new deeds they added past the initial 44 or so that existed when I made the patches won't work. I never checked back to add new ones and frankly I've forgotten how I did most of this to begin with.
GalaxyMii 2019 年 2 月 4 日 下午 8:25 
I have a question. Is this mod compatible with the other themed colony deeds? The one by mrpiggy 22
Morfs 2019 年 1 月 6 日 上午 2:10 
Just confirmed after an hour of annoyance, this mod is incompatible with the Orcana Race mod. It was causing my game to Crash to Desktop immediately upon first load.
All of this over one little weapon merchant.
However, it doesn't have problems with FU.
♠ ♣ Jester ♥ ♦ 2018 年 11 月 17 日 上午 6:36 
Hate to ask this, but is this mod compatible with FU?
Piss Spy  [作者] 2018 年 11 月 15 日 下午 3:33 
I mean I haven't played SB in such a long time that I wouldn't know any steps to cause that. Little one off bugs like that in this game are stupidly difficult to track down and fix unless they happen to a majority of people a majority of the time. :L
todfox 2018 年 11 月 14 日 上午 9:18 
I had the same problem as @thedummy420: I was given an impossibly high level wand by a tenant.
Mr. Buckaroo 2018 年 8 月 31 日 下午 3:43 
Well there be changes in rent based on Race? I imagine Novakid would be okay with hot and desert planets, with most other being on mild planets, and hyltol being most comfortable on water-y planets

Other planets like Toxic and other crappy places to live would be unsatisfactory to all...unless you include modded races and then woo, then we get down to business (to defeat disatisfaction)
PerturbedPat 2018 年 8 月 23 日 上午 7:40 
A tenant gifted me a tier 12 dagger. Is this a bug? Other tennant related mods installed include: More Tenant Species, Themed Colony Deeds, and the addon that mkaes the Themed Colony Deeds work with this mod. Does it have something to do with me building my colony in a dungeon?
Robur Velvetclaw 2018 年 6 月 23 日 下午 7:50 
@les8ean: Unless there is an error with said furniture (ie files not properly coded) it will work just fine. On the other hand, if the furniture is properly tagged, it will allow you to summon the tenants of this mod pack fairly easily.
@LBDC: Do you need any dialogue done?
Piss Spy  [作者] 2018 年 6 月 23 日 上午 11:43 
It should probably just work outright with no issues
les8ean 2018 年 6 月 23 日 上午 3:49 
how does this mod work with furniture added from different mods? will the mod furniture just not be accounted for or...?
Piss Spy  [作者] 2018 年 6 月 17 日 下午 5:16 
@Robur Velvetclaw The best way to handle patches is to release a seperate addon mod on the workshop that contains the patches. Like what I did to add support for the themed colony deeds. It's a seperate mod and in theory it's configured to defer load priority to the mod that it overwrites. This avoids cruft and weird behavior and makes the patches easier to maintain. Plus you can do whatever you want with it and not have to be waiting on me to use your work.
Robur Velvetclaw 2018 年 6 月 16 日 下午 9:05 
LBDC:
https://scontent.fkul13-1.fna.fbcdn.net/v/t1.0-9/35357413_10216861615198685_3933757308001058816_n.jpg?_nc_cat=0&_nc_eui2=AeHS7X3S2yMf7nI_Km_W62ltYZfVu-KDaHApE79_Fzd4134KkExZAM28hMaXxvKdsY-ILFD95SVpckhlctjozlq45_kqDXsh_zvnD9NIdnlR_g&oh=152f835d9bbeb0195eadb6ff6283bad7&oe=5BC2AFE7
Behold, here is the very first complex item I minted for my mod. I subsequently wrote a patch to have the Gothic merchant sell it.
Feel free to decide on how interested you are with regards to my proposal.
Piss Spy  [作者] 2018 年 6 月 3 日 上午 9:54 
If Starbounds was written better it would be a non-issue but as it stands now I just won't ever have the patience to fix it.
A-Vladimir 2018 年 6 月 3 日 上午 9:52 
@Long Bong Dong Chong So basicly your mod will never be compativle with FU. :( Too bad
Piss Spy  [作者] 2018 年 6 月 3 日 上午 9:37 
Other mods that add tenants or change the way monsters or NPCs behave in-code are likely to cause this mod not to work as a result of how the game's API works and how I had to add features. Mods can't share modified base game Lua files because there is no support for merging them. If two mods need to modify the game's Lua then someone has to make a patch which combines relevant code from the two mods together after both have been loaded.
A-Vladimir 2018 年 6 月 3 日 上午 6:33 
@Long Bong Dong Chong Can you pls check the "Bugs and Compatability" discussion.
Reynbowz 2018 年 5 月 30 日 下午 10:26 
I got it from a new tenant from after I downloaded your mod. However, said tenant was from the Mech Tenants mod, so maybe it's crossed wires from this mod and that one?
Piss Spy  [作者] 2018 年 5 月 28 日 上午 6:37 
Something broke. Colony Deeds that existed before you add the mod tend ot do that.
Reynbowz 2018 年 5 月 27 日 下午 9:38 
So after I downloaded this mod, I ended up somehow getting a lvl 12 (?!) broadsword from a tenant. Is this supposed to happen or did something break?
MECK 2018 年 5 月 18 日 下午 3:50 
such is the way of the steam, as it seems to be i was correct on the lastree mod being the root of the issues, ill bring somthing up with him to see if he has a fix or not but else wise thanks for the time to look in the problem
Piss Spy  [作者] 2018 年 5 月 18 日 下午 3:22 
Unfortunately Steam mods give the download folders garbage number names instead of the actual mod name or I'd tell you to just compare mod folders using a search to find ones that use the same name .lua files.
MECK 2018 年 5 月 18 日 下午 1:55 
after a hour or so of modding im thinking its neither your mod nor the avali mod, but the lastree race, im gona have to dick around with it some more
Piss Spy  [作者] 2018 年 5 月 18 日 下午 1:52 
It could definitely be Avali. I vaguely remember that mod adding tenants so if they modified any of the scripts that I also had to modify then that would break it.

The other thing that happens is sometimes when you add this to a pre-existing world the game just doesn't take it well for some reason and any tenants or deed objects that existed before will be wonky.
MECK 2018 年 5 月 18 日 上午 9:23 
Hey im not sure what i have done lol (im 90% sure its my fault in the end) but when ever i have this mod on and use any of the colony deeds they just walk over to the deed as they should and then die, im guessing its becuase i have a fuck ton of shit that i have stacked on but i was wondering if you would have any idea of what would cuase that? my best guess is the avali mod thingy i tossed on for shits n gigs
Reynbowz 2018 年 5 月 13 日 下午 8:00 
Okay, I asked the author of the other mod and they said it's compatible. They didn't say whether their mod changes the Lua files since I didn't ask.