RimWorld

RimWorld

[MF]Faction Vending Machine
37 Comments
chitoseender  [author] 13 Aug @ 6:14am 
@铃兰小姐家的狗 恼,你觉得贩卖机里面塞的人能是自愿的吗(不是
实际是我忘记写派系更改了,今晚准备出差,明天看看到旅馆再修
铃兰小姐家的狗 13 Aug @ 6:10am 
贩卖机里卖的奴隶有问题啊,我刚刚买了三个萌螈的奴隶,结果一个落地就变成敌人打我,另外两个直接变成中立单位自己走了,我抓他就破坏关系,这是啥情况啊
chitoseender  [author] 9 Aug @ 6:47am 
@猫星の大魔王 添加了。
@WirgoCraft added faction icon.
猫星の大魔王 9 Aug @ 12:52am 
能不能让贩卖机上的图案变成势力图标
chitoseender  [author] 22 Jul @ 8:47pm 
@Snowfall 是的,贩卖机的售卖方是一个虚拟的dummy商家,我只对这个dummy类进行了修改,确保价格保持不变(毕竟贩卖机不会讲价XD),理论上不会对任何原版商家有任何影响。
Snowfall 22 Jul @ 1:04pm 
好的,等有空了,等的了。通过贩卖机买东西价格不受技能影响是设定如此的吗?
chitoseender  [author] 21 Jul @ 9:31pm 
@Snowfall 怪事,代码并没有对价格变动有任何修改,我正在出差,安顿下来后会去看看。
Snowfall 21 Jul @ 11:39am 
大佬你好,发现您的mod有个交易价格算法出了问题,在卖出价格上,售价会因为小人的交易技能同比下降而不是上升,结果就是我小人很会讲价,结果把自己东西都贱卖了。。。出去跑了个商都不好意思卖东西。试了一下mod下掉以后卖出价格就正常了,按小人技能上升。买东西没问题。
暗夜虚灵 18 Jul @ 11:25pm 
贩卖机购买的动物是野生状态
chitoseender  [author] 18 Jul @ 8:06pm 
@天国的波利 防盗机制XD
天国的波利 18 Jul @ 10:22am 
不对,为什么拆除会爆炸:steamsad:
chitoseender  [author] 18 Jul @ 7:10am 
@最是能睡觉 免费建造是bug,已经修了。补货周期下次更新会补上,抽奖不会加。
最是能睡觉 18 Jul @ 6:46am 
可以考虑增加一个抽奖的机制。从这些物品中花一个平均价格 或者500块钱抽一次这样
最是能睡觉 18 Jul @ 6:44am 
更新补货周期变成商队来了 就给你补充成对应的就行。如果已经被补货过 即多个商队反复来 就不要 设置一个持续期 比如10天左右。 然后现在的直接免费建造 然后价格1000白银有点太突兀了。你可以是在别的地图去搬回家,可以是买,但是这样什么都没有的直接建造太白给了。也可以设置开局在斗里面 让小人去搬出来 总之最好不要这样白白的建造
chitoseender  [author] 17 Jul @ 9:49pm 
got it. I had some heart problem recently, to preventing ascending to shining world I will fix it later.
chitoseender  [author] 17 Jul @ 9:46pm 
收到,最近身体不适,有点心脏早搏,为了不飞升闪耀世界明日再修复。
狼雨歌 16 Jul @ 2:58pm 
报告BUG:
破碎帝国征募队的交易界面里不仅包含了售货机,而且交易时会报错导致无法获取荣誉值。
以及破碎帝国商船出售的售货机不是破碎帝国的,是随机一个派系的。
PistFissed 16 Jul @ 8:23am 
I may just have a mod conflict, but I had an Imperial Trader show up (the one you trade gold/prisoners for honor) and they had vending machines in their inventory that cost the same amount yet in honor. I couldn't trade them any gold or prisoners for honor and could not purchase the vending machine when I debug moded in enough honor to "buy" it.

Again, could be another mod conflicting, but it is strange to see it pop up in their inventory and lock me out of buying honor.
chitoseender  [author] 15 Jul @ 6:39pm 
Oh, is there a vending machine on the desolate asteroid? It's interesting, but I think it's a bit off the topic. If you want it, you can change the xml file by yourself.

Yeah, it's probably some kind of black humor style anti-theft mechanism from the absurd universe age.XDD
WirgoCraft 15 Jul @ 9:07am 
*(Also I was wondering about the machines exploding when deconstructing.)
WirgoCraft 15 Jul @ 9:05am 
Ohh nice. Honestly the vending machine had been a lifesaver with odyssey. (Aslo i)
chitoseender  [author] 15 Jul @ 8:28am 
@WirgoCraft now its three-way view, later to add faction icon.
chitoseender  [author] 11 Jul @ 8:52pm 
Got it, It will be fix later.
about rotation, this texture itself was generated by Chatgpt. Although it has a three-way view, it's rather strange and requires rewriting the rendering class. I will try it later.
WirgoCraft 11 Jul @ 8:41pm 
okay i found a bug with odyssey. when you land a gravship the vending machine refreshes instantly.
(also this is by no means important but it would be nice if vending machines had full rotation sprites.)
WirgoCraft 10 Jul @ 11:40am 
Don't worry, take as much time as you need.
The mod is already great.
The vending machines are wonderfully convenient.
(Honestly with how useful they are they could be more expensive.)
( I've also been thinking about in univers explanation for how they work if you are interested. )
chitoseender  [author] 10 Jul @ 9:02am 
@WirgoCraft For now, the vending machine colored with the representative colors of the factions has been made, also the default faction is random now.
the faction Icon is still working, but I have to work overtime tomorrow, so am sorry that it will be a bit late.
chitoseender  [author] 9 Jul @ 9:02pm 
I'm still thinking about what method to use to achieve this. For instance, using the mask for color change. Or use a method I wrote about before to render a new layer. I think this method is very suitable for icon and decals.
chitoseender  [author] 9 Jul @ 8:53pm 
@WirgoCraft yeah that make sense. I'll change it to random faction.
About color, decals, icons, I'm still working on it. XD
WirgoCraft 9 Jul @ 8:52am 
Yeah it works. there are still broken books in old machines that haven't reset yet but that's not really a problem.
I was also thinking that machines not gotten from a faction could have random space trader stock instead of empire stock. these machines could have random body color and front decals, while faction ones have faction colored body and faction logo on the front.
chitoseender  [author] 9 Jul @ 7:13am 
@WirgoCraft should fixed now.
chitoseender  [author] 8 Jul @ 8:14pm 
@WirgoCraft got it. I will fix it tonight.
faction color and decals? Great idea, I will try.
chitoseender  [author] 8 Jul @ 8:11pm 
@暗夜虚灵 emm这种改了原版交易界面的不太好兼容,我试试看
WirgoCraft 8 Jul @ 7:14am 
ui seems to break when mousing over books in the machine (the books seem to generally be broken displaying as just quality in square brackets.). additionally it would be nice if the machine was colored like the faction it came from and there was a handful of generic decals for the front of the machine.
暗夜虚灵 7 Jul @ 5:04pm 
不兼容 Dynamic Trade Interface
chitoseender  [author] 6 Jul @ 6:19pm 
@Elgate And in vending machine's trading UI, both trader and customers is virtual dummy.
So everything is original price.(maybe? 0% Negotiation advantage)
chitoseender  [author] 6 Jul @ 6:15pm 
@Elgate oh yes, as you say, sorry I'm too tired last night, I will upload a new descriptions with picture later.
if caravan's faction don't have base, vending machine will copy faction's caravan trader list.
you can buy vending machine with no limit.
Elgate 6 Jul @ 9:21am 
So if I understand correctly:
Let's say you buy it from a neanderthal caravan
Now when you interact with the vending machine, it opens a trading UI similar to a neanderthal settlement shop? Can you get multiple from the same faction?