@@ -634,7 +634,7 @@ function item:isScrew() end
634634--- @return boolean
635635function item :isBuildMat () end
636636
637- --- @param anon_0 number
637+ --- @param anon_0 number 1 fire , 2 magma
638638--- @return boolean
639639function item :isTemperatureSafe (anon_0 ) end
640640
@@ -679,12 +679,12 @@ function item:isMatchingAmmoItem(anon_0) end
679679--- @param subid DFPointer<integer>
680680function item :getImageRef (id , subid ) end
681681
682- --- @param civ_id number
683- --- @param site_id number
682+ --- @param civ_id number References : ` historical_entity `
683+ --- @param site_id number References : ` world_site `
684684function item :getImageCivSite (civ_id , site_id ) end
685685
686- --- @param civ_id number
687- --- @param site_id number
686+ --- @param civ_id number References : ` historical_entity `
687+ --- @param site_id number References : ` world_site `
688688function item :setImageCivSite (civ_id , site_id ) end
689689
690690--- @param level number
@@ -741,7 +741,7 @@ function item:getVolume() end
741741--- @param unit df.unit
742742--- @param mat_type number
743743--- @param mat_index number
744- --- @param shape number
744+ --- @param shape number References : ` descriptor_shape `
745745--- @param force_quality number
746746--- @param civ df.historical_entity
747747--- @param site df.world_site
@@ -811,9 +811,9 @@ function item:isAnimal() end
811811--- @return df.item_quality
812812function item :assignQuality (maker , job_skill ) end
813813
814- --- @param maker df.unit
814+ --- @param maker df.unit called by assignQuality
815815--- @param job_skill df.job_skill
816- --- @param skill_roll number
816+ --- @param skill_roll number preferences add 10 to this , need 55 to roll masterworks
817817--- @return df.item_quality
818818function item :assignQuality2 (maker , job_skill , skill_roll ) end
819819
@@ -949,11 +949,11 @@ function item:isNotHeld() end
949949--- @return boolean
950950function item :isSplittable () end
951951
952- --- @param anon_0 df.historical_entity
952+ --- @param anon_0 df.historical_entity add default thread improvement to items made of cloth
953953function item :addDefaultThreadImprovement (anon_0 ) end
954954
955955--- @param anon_0 df.item
956- --- @param anon_1 df.historical_entity
956+ --- @param anon_1 df.historical_entity add a specific thread improvement to items made of cloth
957957function item :addThreadImprovement (anon_0 , anon_1 ) end
958958
959959function item :propagateUnitRefs () end
@@ -980,36 +980,36 @@ function item:isAutoClean() end
980980--- @param x number
981981--- @param y number
982982--- @param z number
983- --- @param local boolean
983+ --- @param _local boolean
984984--- @param contained boolean
985985--- @return boolean
986- function item :setTemperatureFromMapTile (x , y , z , local , contained ) end
986+ function item :setTemperatureFromMapTile (x , y , z , _local , contained ) end
987987
988- --- @param local boolean
988+ --- @param _local boolean
989989--- @param contained boolean
990990--- @return boolean
991- function item :setTemperatureFromMap (local , contained ) end
991+ function item :setTemperatureFromMap (_local , contained ) end
992992
993993--- @param temp integer
994- --- @param local boolean
994+ --- @param _local boolean
995995--- @param contained boolean
996996--- @return boolean
997- function item :setTemperature (temp , local , contained ) end
997+ function item :setTemperature (temp , _local , contained ) end
998998
999- --- @param local boolean
999+ --- @param _local boolean
10001000--- @param contained boolean
10011001--- @param adjust boolean
10021002--- @param multiplier number
10031003--- @return boolean
1004- function item :updateTempFromMap (local , contained , adjust , multiplier ) end
1004+ function item :updateTempFromMap (_local , contained , adjust , multiplier ) end
10051005
10061006--- @param temp integer
1007- --- @param local boolean
1007+ --- @param _local boolean
10081008--- @param contained boolean
10091009--- @param adjust boolean
10101010--- @param multiplier number
10111011--- @return boolean
1012- function item :updateTemperature (temp , local , contained , adjust , multiplier ) end
1012+ function item :updateTemperature (temp , _local , contained , adjust , multiplier ) end
10131013
10141014--- @return boolean
10151015function item :updateFromWeather () end
@@ -1054,7 +1054,7 @@ function item:getProjectileSize() end
10541054function item :isImprovable (anon_0 , mat_type , mat_index ) end
10551055
10561056--- @param item_quality number
1057- --- @param unk1 number
1057+ --- @param unk1 number when 0 , set item_rockst sharpness to 0
10581058function item :setSharpness (item_quality , unk1 ) end
10591059
10601060--- @return number
@@ -1132,7 +1132,7 @@ function item:isImproved() end
11321132function item :getMagic () end
11331133
11341134--- @param anon_0 string
1135- --- @param plurality number
1135+ --- @param plurality number 0 = prickle berries [2] , 1 = prickle berry , 2 = prickle berries
11361136function item :getItemDescription (anon_0 , plurality ) end
11371137
11381138--- @param anon_0 string
@@ -1254,7 +1254,7 @@ function item:getAbsorption() end
12541254--- @return boolean
12551255function item :isGemMaterial () end
12561256
1257- --- @param shape number
1257+ --- @param shape number References : ` descriptor_shape `
12581258function item :setGemShape (shape ) end
12591259
12601260--- @return boolean
0 commit comments