Commit Graph
2463 Commits
Author SHA1 Message Date
Luis C.M 3552b58e5c You can no longer scroll up until no dialog lines are visible. 2022-06-03 15:38:52 -05:00
Luis C.M c7b34dcf54 More scrolling and dialog alignment fixes. 2022-06-03 15:33:20 -05:00
Luis C.M 2c84a527bf Fixed dialog height 2022-06-03 14:02:48 -05:00
1whohears 8c687e7ef5 fixed DataTimers.writeToNBT 2022-06-02 21:32:19 -05:00
Luis C.M 213d69f146 Function added
NpcAPI:
-Added stopServer() function.
2022-05-31 18:54:11 -05:00
Luis C.M dccdb9636c More tweaks to dialogs, fixed option X spacing. 2022-05-30 23:56:31 -05:00
Luis C.M bb65e79102 Implemented dialog option spacing 2022-05-30 18:31:58 -05:00
Luis C.M e7ceaa6d2a Simplified logic on an if statement 2022-05-30 04:53:17 -05:00
Luis C.M 2370c5e1f4 Added scrolling to dialogs 2022-05-30 04:51:30 -05:00
Luis C.M f0862e8a64 Fixed armor rendering twice when a player is using an overlay. 2022-05-29 19:51:03 -05:00
Luis C.M c0406958a3 The script controller now checks whether a language can have objects loaded into it on startup, catching an exception and skipping that language as available if so. 2022-05-29 16:01:05 -05:00
Luis C.M e4eb0e9cd8 Removed player completion checker. 2022-05-29 14:49:42 -05:00
1whohears a675033d62 String data can't be null 2022-05-29 14:42:28 -05:00
Luis C.M f301f8fcbb The player quest tracker now supports dialog and location quests as well. 2022-05-29 05:33:13 -05:00
Luis C.M f9e92f3172 Added blend attribute to skin overlays. 2022-05-29 05:23:39 -05:00
Luis C.M 9928482c53 Fixed null error with the quest tracker. 2022-05-29 05:09:30 -05:00
Luis C.M e71ea4f495 Fixed the quest tracking overlay alignment. 2022-05-29 05:06:18 -05:00
Luis C.M e2df33fb5f Added quest objective and turnin data to the quest tracker. 2022-05-29 04:45:38 -05:00
Luis C.M 0ed5887046 Alex armor now renders correctly for NPCs. 2022-05-29 03:06:57 -05:00
1whohears fb0ff50994 added get set refuse soul stone
one may want an npc to not be able to be picked up by soul stone in any circumstance
2022-05-29 02:46:24 -05:00
Luis C.M ed9d30547d Merge pull request #55 from KAMKEEL/revert-53-master
Revert "NPC Skin Changes"
2022-05-29 00:59:59 -05:00
Luis C.M fd0a99b3ed Revert "NPC Skin Changes" 2022-05-29 00:59:40 -05:00
1whohears 9fef65b194 get the name of the player who spawned this npc with soulstone 2022-05-28 23:40:01 -05:00
1whohears b7ad0ce29b soulstone villagers and friendly npcs 2022-05-28 23:00:39 -05:00
1whohears b18d0965f2 script player.sendMessage uses String as color parameter 2022-05-28 22:53:57 -05:00
Luis C.M 3b6668ea15 Merge pull request #53 from c0508383/master
NPC Skin Changes
2022-05-28 14:18:51 -05:00
Luis C.M 094edb73d5 Merge remote-tracking branch 'origin/dev' into dev 2022-05-28 07:06:48 -05:00
Luis C.M 0028328db4 More fixes to setting NPC model types. 2022-05-28 07:06:38 -05:00
Luis C.M c437cf5274 Merge branch 'KAMKEEL:dev' into dev 2022-05-28 06:53:36 -05:00
Luis C.M 968b43a321 setModelType() only takes 0 for Steve, or 1 for Alex as values. 2022-05-28 06:31:52 -05:00
Luis C.M c083412723 Fixed armor error on alex models. 2022-05-28 06:30:10 -05:00
Luis C.M 379ad69706 Options for modelType are now only Steve and Alex. 2022-05-28 06:22:39 -05:00
Luis C.M 4aa1799ec3 Alex and Steve skins now switch to x64 or x32 models automatically. 2022-05-28 05:53:14 -05:00
Luis C.M 2b15ba9197 Fixed x64 texture bug, breaking textures after switching the model type from x64 to x32
Fixed crash report handler issue with custom overlays.

Removed "textureGlowLocation" field, which is unused now.
2022-05-28 02:12:33 -05:00
Kamron Vaswani cffe931bc9 Merge pull request #50 from c0508383/master
Some CNPC+ v1.6 features
2022-05-27 17:27:26 -04:00
Luis C.M 76802d1926 Pushed IDBCPlayer interface. 2022-05-27 15:55:15 -05:00
Luis C.M 8d4a7ea0b6 More merge fixes 2022-05-27 15:54:12 -05:00
Luis C.M ec5fc71413 Merge branch 'master' into dev
# Conflicts:
#	src/main/java/noppes/npcs/scripted/ScriptFaction.java
#	src/main/java/noppes/npcs/scripted/ScriptWorld.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptPlayer.java
#	src/main/java/noppes/npcs/scripted/interfaces/IEntity.java
#	src/main/java/noppes/npcs/scripted/interfaces/IWorld.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/ICustomNpc.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/IPlayer.java
2022-05-27 15:31:02 -05:00
Luis C.M 6462235a7e Merge branch 'KAMKEEL:master' into master 2022-05-27 14:59:26 -05:00
Luis C.M 301e113be2 Added quest tracking, need to add objectives list and turn in info too. 2022-05-27 14:32:24 -05:00
Luis C.M 045cc9fbac Merge pull request #51 from 1whohears/dev
Added various things to the API and other small changes
2022-05-27 14:31:07 -05:00
1whohears f83487f67b removed setblock with the Minecraft block class as a parameter 2022-05-27 11:28:01 -05:00
1whohears 0d2011b2ba added some doc comments 2022-05-26 20:55:11 -05:00
1whohears 81033e5a9c renamed getFactionEnemies to getEnemyFactionIds
IFaction[] getFactionEnemies();
I think this should be implemented in PR #50 because IFaction is setup better there
2022-05-26 20:47:46 -05:00
1whohears a49dfff86a added world.rayCastBlock(IPos, IPos, int) 2022-05-26 20:44:44 -05:00
1whohears 3cf780d9a2 add get reset disable purchase num by slot number and IPlayer
needed to add get/setStringIntegerArrayMap to NBTTags so save the player purchases and disabled slots with a String int[] hashmap
2022-05-26 15:57:24 -05:00
1whohears e7250158ac Update ScriptFaction.java 2022-05-26 03:52:44 -05:00
1whohears 3d02ce3ce0 world.rayCastBlock uses double[] for parameters 2022-05-26 03:04:13 -05:00
1whohears 77ee403720 RoleFollowers will not despawn if they have an owner
RoleFollowers canDespawn field will be changed back to the value set by the player in the gui/api if they stop following a player
2022-05-26 03:00:49 -05:00
1whohears 6698e8619c world.getNearestAir returns IPos and takes IPos as parameter 2022-05-26 02:10:25 -05:00