Repository navigation
KCDS 1.2.3 - #358
Merged
Merged
KCDS 1.2.3#358
Conversation
…horses Player.attachProp hung a mesh on a joint of a player's body only. Every game finds the body of an attached prop by its network id, and NPCs and horses are found the same way, so they now carry props too: a basket on a back, a lantern in a hand, a pack behind a saddle. - New Npc.attachProp / Npc.detachProp and Horse.attachProp / Horse.detachProp, taking what Player.attachProp takes; the props go with the NPC or horse. - New Prop.attachedBody: the player, NPC or horse a prop hangs on. Prop.attachedTo still names only a player.
A server with levelPeople on wanted its villages lived in but some towns (Kuttenberg, Grund) empty for the players to live in. - New setting exclude: Areas or area ids (a settlement's level area, or a script's own). The level's people placed inside get no body, and those already there go. - With levelPeople every game has the level's own people, also those the server gives no body: the people of an excluded area are hidden in every game by a level edit of their entity, and given back once the area is no longer excluded.
A serious roleplay server wanted fights not to show the opponent's health. The game draws it as its own bar beside the player's in the HUD's stats (two clips: the bar and its break), apart from the nameplates. - New HUD part OpponentHealth for Hud.setHudPart and hudPartShown: both clips are hidden again every frame while a resource hides it.
…rent Telling whether a body that touched another is a replica read each replica's movement object and the actor inside it. When that movement object was gone, the game crashed in the touch. The replicas' entity ids are now kept when they are made and dropped when they go, and the touch compares ids only. The replica tick also keeps each replica's movement as its actor holds it now, with one log line when it changes.
…od's items join the catalog A resource's replace/ table patches of any game table (Libs/Tables/<folder>/<table>__<name>.xml) are now kept per server and loaded with the game's tables at the next start, not only perk patches: a mod's items (item__<name>.xml) and its clothing and hair (CharacterComponent__<name>.xml) reach every player like the game's own. The recipe and workpiece tables still load at once. On the server the rows of a resource's item patches join the item catalog when it starts, so inventories, shops, stashes and the ground take the mod's items. A worn piece gets the slot of its clothing's armour type, from the resource's CharacterComponent patch or the game's clothing; a row with a game item's GUID changes that item. The catalog now carries the game's clothing, the armour type slots and the weapon classes for this.
…ve file system can hold both
… into release/1.2.3
| function elementsOf(text) { | ||
| const elements = []; | ||
| const open = []; | ||
| const body = String(text).replace(/<!--[\s\S]*?-->/g, ''); |
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
KCDS 1.2.3. It brings together the five ready pull requests and the version bump.
Npc.attachPropandHorse.attachProp: props on the joints of NPCs and horses;Prop.attachedBody.Npc.setPopulation({ exclude }): places kept empty of the level's people, hidden in every game withlevelPeople.Hud.setHudPart('OpponentHealth'): a fight hides how hurt the opponent is.Left out: the drafts #170 (bots) and #34 (visor).
Guides: KCD-Synced/KCDS-DOCS#102.
How it was tested
format_source.py --checkpasses, and the C# SDK matches the API (build_csharp_sdk.py --check). Item patches, props, NPCs, people, HUD, inventory, recipes, ground items, SDK docs examples and languages, and Lua guide examples: 164/164.Checklist
python Dev/tools/format_source.py --checkpasses.