Caves of Qud

Caves of Qud

42 ratings
Qudders
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
59.295 KB
Sep 1, 2019 @ 8:10am
Dec 25, 2024 @ 4:44am
19 Change Notes ( view )

Subscribe to download
Qudders

Description
Adds Milk Glands as a mutation available to player characters. Animals in the world have a chance to spawn with milkable glands.

If you have the Starapple Valley mod installed milk can be fermented into Curd which can be preserved into Cheese.

You can find and contribute to the code for this mod and submit issues at it's github project page: https://github.com/acegiak/qudders
Popular Discussions View All (1)
0
Jun 20, 2023 @ 9:55pm
Mod broke with recent update, here is error log
I blame Earthshaker
35 Comments
hamburgerfaye Jan 3 @ 11:14am 
why do you always get this as a true-kin?
Tyrir Jan 1 @ 7:28pm 
Continuing from the previous message, in liquidpopulationhotloader.cs, "Milk Bottle" is added to an "Ingredients*" tables. Because it has a LiquidVolume part that may spawn with 0 liquid, it causes the game to freeze during world generation when a random recipe is generated that uses it as an ingredient. It is a bug in Qud.

Thankfully, it is a rare event that "Milk Bottle" is chosen as an ingredient with 0 StartVolume.

To fix this, in ObjectBlueprints.xml. Change this line,

<object Name="Milk Bottle" Inherits="Bottle">
<part Name="LiquidVolume" MaxVolume="16" StartVolume="1d7-1" InitialLiquid="milk-1000"></part>

to

<object Name="Milk Bottle" Inherits="Bottle">
<part Name="LiquidVolume" MaxVolume="16" StartVolume="1d7" InitialLiquid="milk-1000"></part>

In other words, change "Milk Bottle"'s StartVolume from "1d7-1" to "1d7".

All of that said, I don't know if you want "Milk Bottle" to be an ingredient. Usually you'd just use the milk in food, not the whole bottle too. lol
Tyrir Jan 1 @ 7:24pm 
Here is an exception during world generation with some added debug info.
[code]
INFO - PopulationResult.RollOneFrom("Ingredients0"): Result is Milk Bottle, , , 1
INFO - GameObject.Create("Milk Bottle")
INFO - GameObject.Create("Milk Bottle") == Milk Bottle
INFO - GameObject.Create("Milk Bottle") analysis:
__result?.HasPart<LiquidVolume>()=True
__result?.GetPart<LiquidVolume>()?.GetPrimaryLiquid()=NULL
__result?.GetPart<LiquidVolume>()?.GetPrimaryLiquid()?.GetName(null)=NULL
__result?.DisplayNameOnlyDirectAndStripped)=glass bottle
ERROR - Booting game :System.NullReferenceException: Object reference not set to an instance of an object
at XRL.Annals.ImportedFoodorDrink.Generate () [0x00422] in XRL.Annals\ImportedFoodorDrink.cs:87
at HistoryKit.HistoricEntity.ApplyEvent (HistoryKit.HistoricEvent newEvent, System.Int64 year) [0x0003a] in HistoryKit\HistoricEntity.cs:287
at XRL.Annals.QudHistoryFactory.GenerateNewVillage
[/code]
Tyrir Dec 21, 2024 @ 9:13am 
> Ingredient Hunk of Cheese has neither LiquidVolume nor PreparedCookingIngredient parts

In ObjectBlueprints.xml, "Hunk of Cheese" is missing the above part. I fixed this by adding the following to it's entry:

<part Name="PreparedCookingIngredient" type="regenLowtier" charges="1" />
Acegiak  [author] Dec 5, 2024 @ 2:19pm 
Updated and checked working for 1.0
Rune Trantor May 28, 2024 @ 10:11am 
This is so Qudrsed... XD
I blame Earthshaker Nov 18, 2023 @ 8:29pm 
Yay, updated!
I blame Earthshaker Nov 15, 2023 @ 1:05pm 
Today's update added more modding support; modding now supports having custom naming for mutations. Curious to see how this mod might integrate such possibilities...
I blame Earthshaker Nov 5, 2023 @ 5:10pm 
Nope, still very broken in the beta... although I cannot say whether it is for the same reasons as when it broke in June.
I blame Earthshaker Nov 5, 2023 @ 12:26pm 
Huh, I thought this mod's author wasn't really bothering with updates until the 1.0 release... Now if only the Qud Rides mod could get fixed!