Skip to content

Commit 8d71e0b

Browse files
committed
Update CHANGELOG.md
1 parent c769c31 commit 8d71e0b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
266266

267267
- You can now execute multiple copies of your delivery order by holding UP or DOWN while choosing the landing zone.
268268

269+
- New `MOSprite` INI property `IconFile`, which can be used to define a separate sprite to be displayed in GUI elements, such as the Buy Menu.
270+
Defined similarly to `SpriteFile`, i.e. `IconFile = ContentFile` followed up by a `FilePath` to the sprite.
271+
272+
- New `MOSprite` Lua functions `GetIconWidth()` and `GetIconHeight()` which return the dimensions of its GUI representation.
273+
274+
- New `PrimitiveMan` Lua functions `DrawIconPrimitive(player, pos, entity)` and `DrawIconPrimitive(pos, entity)` which can be used to draw the GUI representation of the passed in entity.
275+
269276
</details>
270277

271278
<details><summary><b>Changed</b></summary>
272279

280+
- `ACrab` actors will now default to showing their `Turret` sprite as their GUI icon. If no turret is defined, the `ACrab`'s own sprite will be used.
281+
In a similar fashion, `AHuman` will now default to its torso sprite as its GUI representation if no `Head` has somehow been defined.
282+
273283
- `ThrownDevice`s will now use `StanceOffset`, `SharpStanceOffset` and `SupportOffset` in the same way as any other `HeldDevice`. In addition, `EndThrowOffset` will be used to set the BG hand position while sharp aiming or throwing.
274284

275285
- `AHuman` throwing angle will no longer be affected by the rotation of the body.

0 commit comments

Comments
 (0)