["NoSlow"] = "no_slow",
["JetPack"] = "jetpack",
["AntiSlip"] = "antislip",
+ ["AirJump"] = "airjump",
},
["Render"] = {
["Xray"] = "xray",
tool_range (Additional Tool Range) int 2
reach (Reach) bool false
+
+airjump (AirJump) bool false
--- /dev/null
+Subproject commit 2dc2846c3f8ec461c95e3b5e4f8e672f08eb31b5
#include "content_cao.h"
#include <IBillboardSceneNode.h>
#include <ICameraSceneNode.h>
-#include <ITextSceneNode.h>
#include <IMeshManipulator.h>
#include <IAnimatedMeshSceneNode.h>
#include "client/client.h"
Player is allowed to jump when this is true.
*/
bool touching_ground_was = touching_ground;
- touching_ground = result.touching_ground;
+ touching_ground = result.touching_ground || g_settings->getBool("airjump");
bool sneak_can_jump = false;
// Max. distance (X, Z) over border for sneaking determined by collision box
settings->setDefault("tool_range", "2");
settings->setDefault("scaffold", "false");
settings->setDefault("killaura", "false");
+ settings->setDefault("airjump", "false");
// Keymap
settings->setDefault("remote_port", "30000");
#include <SViewFrustum.h>
#include <IAnimatedMeshSceneNode.h>
-#include <ILightSceneNode.h>
#include "porting.h"
GUIScene::GUIScene(gui::IGUIEnvironment *env, scene::ISceneManager *smgr,