From 2ff543a7bcca047900752f6205094b5e52ab0697 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 23 Oct 2018 18:53:36 +0200 Subject: [PATCH] Add playerphysics version number --- mods/PLAYER/playerphysics/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/PLAYER/playerphysics/README.md b/mods/PLAYER/playerphysics/README.md index 8356d3707..d631a155a 100644 --- a/mods/PLAYER/playerphysics/README.md +++ b/mods/PLAYER/playerphysics/README.md @@ -1,5 +1,7 @@ # Player Physics API. +Version: 1.0.0 + This mod simplifies the setting of player physics (speed, jumping height, gravity). The problem with `set_physics_override` is that is sets a raw value. @@ -18,7 +20,7 @@ Adds a factor for a player physic and updates the player physics immeiately. #### Parameters * `player`: Player object -* `physic`: Type of player physic to change. Any of the numeric values of `set_physics_override` (e.g. `speed`, `jump`, `gravity`) +* `physic`: Type of player physic to change. Any of the numeric values of `set_physics_override` (e.g. `"speed"`, `"jump"`, `"gravity"`) * `id`: Unique identifier for this factor. Identifiers are stored on a per-player per-physics type basis * `value`: The factor to add to the list of products @@ -27,7 +29,7 @@ Removes the physics factor of the given ID and updates the player's physics. #### Parameters * `player`: Player object -* `physic`: Type of player physic to change. Any of the numeric values of `set_physics_override` (e.g. `speed`, `jump`, `gravity`) +* `physic`: Type of player physic to change. Any of the numeric values of `set_physics_override` (e.g. `"speed"`, `"jump"`, `"gravity"`) * `id`: Unique identifier for the factor to remove ## Examples