midspace / midspace/Space-Engineers-Admin-script-mod

Improve handtool detection for antigrinding

Open
#181 3 comments 0 reactions 1 assignee View on GitHub

@midspace is already working on this.

Since Aug 3, 2017.

Dominant language
C#
Stars
43
Forks
12
PR merge metrics
No merged PRs in 30d

Description

There were changes put through for API improvements which need to be implemented for handtool checks.

https://forum.keenswh.com/threads/modapi-changes-jan-26.7392280/
Hand tools now have an OwnerID property which gives you the EntityId of the owning character. Also an OwnerIdentityId that tells you which player has the tool.
IMyCharacter.EquippedWeapon gives you the EntityId of the equipped tool/weapon.

Also look into IMyCubeBuilder.FindClosestGrid() for cubeplacer improvements

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.