]> git.lizzy.rs Git - Crafter.git/blob - README.md
Fix players sneaking items into boots slot causing crash
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11
12
13
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 ```
21
22
23
24 ## This game is in early alpha and uses a lot of experimental features in the engine
25
26 ---
27
28 # ALPHA STATE CHANGELOG
29
30 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
31
32 ## Alpha 0.05
33
34 > Multiplayer Polishing Update
35 - Fixed only one player being able to run on a server
36 - Fixed only one person being able to teleport in the same server step
37 - Players now use the same damage mechaninism as mobs
38 - Fixed wrong variable for durability assigned to all swords
39 - Fix bug in experience
40 - Fully implemented bows and arrows
41 - Tuned the bow and arrows even further
42 - Snowmen now drop a carrot, coal, stick, or snowball
43 - Added in armor
44 - Tuned a lot of things
45 - Made armor work
46 - Added in Krock's awesome Colored Names mod for csm chat
47 - Added sheep
48 - Fixed global mob handling
49 - Added in better fire
50 - Overhauled weather effects
51 - Added in clientside modchannel lockout to check if server sending message
52 - Added in capes
53 - Overhauled client mod version checking
54 - Overhauled mob pathfinding AI
55 ---
56
57
58 # IDEAS:
59
60 ## jetpack:
61 - equipped like armor
62 - uses XP
63
64
65 ## REDSTONE:
66 - breaker (mines whatever is in front of it)
67 - dispenser (shoots out first item in inventory, or shoots item into pipe)
68 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
69
70
71 ---
72
73
74
75 ## BUILDTEST:
76 - quarry
77 - filter
78 - siv
79 - mining lazer
80 - trains
81
82
83
84 ---
85
86
87 ## MOBS:
88
89 > #1 idea: weakness items, items that damage the mob more than diamond swords
90
91 ### snowman
92 - you can put a pumpkin on it's head to make it survive when it's not snowing out
93 - drops snowballs, coal, or carrot
94
95 ### sheep
96 - sheep can be punched to drop wool without damage
97 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
98
99
100 ### pig
101 - disable pig aggression
102 - make porkchop look nicer
103
104
105 ### ghosts
106 - make the default player model whited out
107 - ghosts can pass through any nodes
108 - ghosts fly around
109 - will follow you groaning about "diamonds", "need food", and "join us"
110 - they will fling you up in the air or punch you
111 - ghosts can drag you down into nodes and suffocate you
112 - spawn with cave sounds
113 - drop soul
114
115
116 ### node monster
117 - gets built out of nodes in the area
118 - will probabaly destroy you
119 - drops all nodes that it's made of when killed
120
121
122
123 ---
124
125
126 ## Game Mechanics:
127 - brewing
128 - enchanting/upgrading
129 - magic (wands, spells, etc)
130 - better combat ( sweep hit enemies, falling while hitting deals more damage )
131 - Enchanting food - gives buffs
132 - LATE effects https://forum.minetest.net/viewtopic.php?t=20724
133
134
135 ---
136
137
138 ## New Themes
139
140 ### mechanics (mechanical tools and machines)
141 - compressor (compresses nodes down)
142 - auto miner (digs whatever is in front of it)
143 - decompressor (opposite of compressor
144
145
146 ### automation 
147 - pipes
148 - pumps
149 - fluid  transfer
150 - fluid storage
151 - pipes should be able to move objects quickly
152
153
154 ### HALLOWEEN!
155 - Jack O'Lanterns
156 - corn and corn stalks
157 - decorations
158 - cobwebs
159 - costumes (somehow?)
160 - candy
161 - make grass and leaves orange during the month of October
162 - (Use a simple date check and override nodes)
163 - Gravestones
164 - Graveyards
165 - Candles
166 - candy apples
167 - Soul cake, make with cake and soul
168
169
170 ### Farming
171 - add fertilizer (pig drops bone randomly) 
172 - fertilizer is made out of bone - 
173 - fertilizer can make tall grass grow on regular grass
174 - bread - 3 bread in a row
175 - make sandwich with bread and cooked porkchop
176 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
177
178
179 ### Fishing
180 - enchanted fish
181 - player casts out a better lure if on a boat
182
183
184 ---
185
186
187 ## New Items
188
189 > These don't seem to fit into any theme so list them all here
190
191 - rope and tnt arrows
192 - vehicles (car, powered minecarts, trains)
193 - hitscan flintlocks
194
195
196 ---
197
198
199 ## Ideas
200
201 > These ideas are all over the place but are good for future updates
202
203 - make pistons able to push and pull any node that does not use meta or inv
204 - make pistons able to push and pull deactivated pistons
205 - upgrade minecart physics even more 
206 - make torches abm that checks if player in area
207 - make furnace abm that checks if player in area
208 - make tnt hurt player
209 - rewrite minecart
210 - fix tool rightclick torch placement to replace buildable to nodes
211 - if placed last node put another stack into hand
212 - have falling node hurt player?
213 - add a function to set a velocity goal to entities and then implement it with all entities
214 - ^make a value if below then stop?
215 - colored chat messages
216 - check if everyone is in bed before going to next night
217 - also lock player in bed until they get out or daytime
218 - create a function to check if a node or group is below
219 - ^ set meta for player so that all mods can use it without calculating it
220 - ^ over and over again (saves cpu cycles)
221 - cars buildable in crafting table
222 - require gas pumps refine oil
223 - drive next to gas pump and car will fill with gas
224 - maybe have pump be rightclickable and then manually fill with gass using nozel
225 - minecart car train? - off rail use
226 - automatic step height for off rail use
227 - make cars follow each other
228 - oil which spawns underground in pools
229 - powered minecart car (engine car)
230 - chest minecart car
231 - player controls engine car
232 - make entities push against players
233
234
235 ---
236
237
238 ## Possible Applications
239
240 > causes object to magnetize towards player or other objects and stop after an inner radius
241 > use for better item magnet?
242 ```
243 if object:is_player() and object:get_player_name() ~= self.rider then
244       local player_pos = object:getpos()
245       pos.y = 0
246       player_pos.y = 0
247       
248       local currentvel = self.object:getvelocity()
249       local vel = vector.subtract(pos, player_pos)
250       vel = vector.normalize(vel)
251       local distance = vector.distance(pos,player_pos)
252       distance = (1-distance)*10
253       vel = vector.multiply(vel,distance)
254       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
255       
256       
257       if self.axis == "x"      then
258             self.object:add_velocity(vector.new(acceleration.x,0,0))
259       elseif self.axis == "z" then
260             self.object:add_velocity(vector.new(0,0,acceleration.z))
261       else
262             self.object:add_velocity(acceleration)
263       end
264       
265       - acceleration = vector.multiply(acceleration, -1)
266       - object:add_player_velocity(acceleration)
267 end
268 ```